Type hint improvements (#31876)
* Complete components.remote type hints * Define ConfigType only in helpers.typing
This commit is contained in:
1 parent
e5e7c9fa25
commit
03f7fe483b
7 files changed
+22
-18
No files matched your search
@@ -1,10 +1,10 @@
|
||||
"""Helper methods for components within Home Assistant."""
|
||||
import re
|
||||
from typing import Any, Dict, Iterable, Sequence, Tuple
|
||||
from typing import Any, Iterable, Sequence, Tuple
|
||||
|
||||
from homeassistant.const import CONF_PLATFORM
|
||||
|
||||
ConfigType = Dict[str, Any]
|
||||
from .typing import ConfigType
|
||||
|
||||
|
||||
def config_per_platform(config: ConfigType, domain: str) -> Iterable[Tuple[Any, Any]]:
|
||||
|
||||
Reference in new issue
Block a user