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

@@ -19,7 +19,7 @@ class DeviceStateHandler:
_LOGGER: logging = logging.getLogger(__name__)
_session: Session = None
_deviceInfo: Connect.DeviceInfo = None
_listeners: list[DeviceStateHandler.Listener] = list()
_listeners: list[DeviceStateHandler.Listener] = []
_putState: Connect.PutStateRequest = None
_putStateWorker: concurrent.futures.ThreadPoolExecutor = (
concurrent.futures.ThreadPoolExecutor())