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 dca365e commit 6b88f80Copy full SHA for 6b88f80
adafruit_ble_file_transfer.py
@@ -23,7 +23,7 @@
23
from adafruit_ble.services import Service
24
25
try:
26
- from typing import Optional, List # pylint: disable=unused-import
+ from typing import Optional, List
27
from circuitpython_typing import WriteableBuffer
28
except ImportError:
29
pass
@@ -65,7 +65,7 @@ def __init__(self) -> None:
65
fixed_length=False,
66
)
67
68
- def bind(self, service):
+ def bind(self, service: Service) -> _bleio.PacketBuffer:
69
"""Binds the characteristic to the given Service."""
70
bound_characteristic = super().bind(service)
71
return _bleio.PacketBuffer(
0 commit comments