mirror of
https://github.com/google/bumble.git
synced 2026-04-16 00:25:31 +00:00
Merge pull request #843 from dlech/type-hints
Fix missing type hints on Device.notify_subscribers()
This commit is contained in:
@@ -5172,7 +5172,7 @@ class Device(utils.CompositeEventEmitter):
|
||||
await self.gatt_server.notify_subscriber(connection, attribute, value, force)
|
||||
|
||||
async def notify_subscribers(
|
||||
self, attribute: Attribute, value=None, force=False
|
||||
self, attribute: Attribute, value: Optional[Any] = None, force: bool = False
|
||||
) -> None:
|
||||
"""
|
||||
Send a notification to all the subscribers of an attribute.
|
||||
|
||||
Reference in New Issue
Block a user