Replace deprecated typing aliases

This commit is contained in:
Josh Wu
2025-06-07 23:29:26 +08:00
parent 3a64772cc5
commit 8a0cd5d0d1
68 changed files with 366 additions and 424 deletions

View File

@@ -36,7 +36,7 @@ from bumble.hci import (
)
from bumble import controller
from typing import Optional, Set
from typing import Optional
# -----------------------------------------------------------------------------
# Logging
@@ -65,7 +65,7 @@ class LocalLink:
Link bus for controllers to communicate with each other
'''
controllers: Set[controller.Controller]
controllers: set[controller.Controller]
def __init__(self):
self.controllers = set()