We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e4fbc8 commit 8451d8bCopy full SHA for 8451d8b
adafruit_ble_midi.py
@@ -47,9 +47,7 @@ def __init__(self) -> None:
47
fixed_length=False,
48
)
49
50
- def bind( # pylint:disable=used-before-assignment
51
- self, service: MIDIService
52
- ) -> _bleio.PacketBuffer:
+ def bind(self, service: "MIDIService") -> _bleio.PacketBuffer:
53
"""Binds the characteristic to the given Service."""
54
bound_characteristic = super().bind(service)
55
return _bleio.PacketBuffer(bound_characteristic, buffer_size=4)
0 commit comments