forked from auracaster/bumble_mirror
Replace list[] legacy typing
This commit is contained in:
+1
-1
@@ -206,7 +206,7 @@ class Service(Attribute):
|
||||
|
||||
uuid: UUID
|
||||
|
||||
def __init__(self, uuid, characteristics: list[Characteristic], primary=True):
|
||||
def __init__(self, uuid, characteristics: List[Characteristic], primary=True):
|
||||
# Convert the uuid to a UUID object if it isn't already
|
||||
if isinstance(uuid, str):
|
||||
uuid = UUID(uuid)
|
||||
|
||||
Reference in New Issue
Block a user