hass-core/homeassistant/helpers/typing.py
Johann Kellerman 09262a36c4 Hide NewType ImportErrors (#2717)
* Hide NewType ImportErrors

* No more NewType
2016-08-03 08:21:30 -07:00

12 lines
263 B
Python

"""Typing Helpers for Home-Assistant."""
from typing import Dict, Any
import homeassistant.core
# pylint: disable=invalid-name
ConfigType = Dict[str, Any]
HomeAssistantType = homeassistant.core.HomeAssistant
# Custom type for recorder Queries
QueryType = Any