Add docstring to DhcpServiceInfo MAC address (#147823)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
epenet 2025-06-30 21:54:05 +02:00 committed by GitHub
parent 38a7b21052
commit 603e277a5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,3 +12,9 @@ class DhcpServiceInfo(BaseServiceInfo):
ip: str
hostname: str
macaddress: str
"""The MAC address of the device.
Please note that for historical reason the DHCP service will always format it
as a lowercase string without colons.
eg. "AA:BB:CC:12:34:56" is stored as "aabbcc123456"
"""