Skip to content

Commit 5204c63

Browse files
move AppleMediaServicesTpe declaration - black requires newline after import
1 parent 8b46a8c commit 5204c63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_ble_apple_media.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
"""
1515
try:
1616
from typing import Union, Type
17+
18+
AppleMediaServiceType = Union("AppleMediaService", Type["AppleMediaService"])
1719
except ImportError:
1820
pass
1921

@@ -33,8 +35,6 @@
3335
# Disable protected access checks since our private classes are tightly coupled.
3436
# pylint: disable=protected-access
3537

36-
AppleMediaServiceType = Union("AppleMediaService", Type["AppleMediaService"])
37-
3838

3939
class _RemoteCommand(ComplexCharacteristic):
4040
"""Endpoint for sending commands to a media player. The value read will list all available

0 commit comments

Comments
 (0)