Type hint improvements (#28260)

* Add and improve core and config_entries type hints

* Complete and improve config_entries type hints

* More entity registry type hints

* Complete helpers.event type hints
This commit is contained in:
Ville Skyttä
2019-10-28 22:36:26 +02:00
committed by Paulus Schoutsen
parent f7a64019b6
commit f88ead597a
9 changed files with 135 additions and 89 deletions

View File

@@ -1283,7 +1283,7 @@ class Config:
self.skip_pip: bool = False
# List of loaded components
self.components: set = set()
self.components: Set[str] = set()
# API (HTTP) server configuration, see components.http.ApiConfig
self.api: Optional[Any] = None