mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 19:09:32 +00:00
Migrate legacy typehints in core to PEP-526 (#26403)
* Migrate legacy typehints in core to PEP-526 * Fix one type
This commit is contained in:
committed by
Paulus Schoutsen
parent
2dc90be94f
commit
2f0eb07624
@@ -70,11 +70,11 @@ class Store:
|
||||
self.key = key
|
||||
self.hass = hass
|
||||
self._private = private
|
||||
self._data = None # type: Optional[Dict[str, Any]]
|
||||
self._data: Optional[Dict[str, Any]] = None
|
||||
self._unsub_delay_listener = None
|
||||
self._unsub_stop_listener = None
|
||||
self._write_lock = asyncio.Lock()
|
||||
self._load_task = None # type: Optional[asyncio.Future]
|
||||
self._load_task: Optional[asyncio.Future] = None
|
||||
self._encoder = encoder
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user