Aruba-WLAN Python Scripts merge requestshttps://gitlab.fem-net.de/aruba-wlan/arubawlan-python-scripts/-/merge_requests2022-08-17T18:10:36+02:00https://gitlab.fem-net.de/aruba-wlan/arubawlan-python-scripts/-/merge_requests/6prepare_aruba_ap_switchport: use dataclass for credentials2022-08-17T18:10:36+02:00Sebastian Speitelprepare_aruba_ap_switchport: use dataclass for credentialsThe class is just used to hold properties, which is the exact usecase for dataclasses.
Dataclasses also add type information.
Additionally using a dataclass removes the need to write a __init__ method and thus makes the code smaller.The class is just used to hold properties, which is the exact usecase for dataclasses.
Dataclasses also add type information.
Additionally using a dataclass removes the need to write a __init__ method and thus makes the code smaller.https://gitlab.fem-net.de/aruba-wlan/arubawlan-python-scripts/-/merge_requests/5Format everything using black2022-08-17T17:51:04+02:00Sebastian SpeitelFormat everything using blackPrepare for major refactoringPrepare for major refactoring