Use literal syntax instead of function calls to create data structure

This commit is contained in:
deepsource-autofix[bot]
2021-04-09 23:23:34 +00:00
committed by GitHub
parent 2a5a9b35fb
commit a06c94a69e
6 changed files with 12 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ class Player(Closeable, PlayerSession.Listener, AudioSink.Listener):
_conf: PlayerConfiguration = None
_events: Player.EventsDispatcher = None
_sink: AudioSink = None
_metrics: dict[str, PlaybackMetrics] = dict()
_metrics: dict[str, PlaybackMetrics] = {}
_state: StateWrapper = None
_playerSession: PlayerSession = None
_releaseLineFuture = None