We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bffcc3 commit 7c52419Copy full SHA for 7c52419
adafruit_ble/services/standard/__init__.py
@@ -27,7 +27,7 @@ class AppearanceCharacteristic(StructCharacteristic):
27
# pylint: disable=too-few-public-methods
28
uuid = StandardUUID(0x2A01)
29
30
- def __init__(self, **kwargs):
+ def __init__(self, **kwargs) -> None:
31
super().__init__("<H", **kwargs)
32
33
@@ -72,7 +72,7 @@ class CurrentTimeService(Service):
72
"""A tuple of location information: (timezone, dst_offset)"""
73
74
@property
75
- def struct_time(self):
+ def struct_time(self) -> time.struct_time:
76
"""The current time as a `time.struct_time`. Day of year and whether DST is in effect
77
are always -1.
78
"""
0 commit comments