resolves #8 Missing Type Annotations
This commit is contained in:
parent
080d648c5f
commit
8e4fbc82ce
1 changed files with 3 additions and 1 deletions
|
|
@ -47,7 +47,9 @@ class _MidiCharacteristic(ComplexCharacteristic):
|
|||
fixed_length=False,
|
||||
)
|
||||
|
||||
def bind(self, service: MIDIService) -> _bleio.PacketBuffer:
|
||||
def bind( # pylint:disable=used-before-assignment
|
||||
self, service: MIDIService
|
||||
) -> _bleio.PacketBuffer:
|
||||
"""Binds the characteristic to the given Service."""
|
||||
bound_characteristic = super().bind(service)
|
||||
return _bleio.PacketBuffer(bound_characteristic, buffer_size=4)
|
||||
|
|
|
|||
Loading…
Reference in a new issue