Move imports to top for websocket_api (#29556)
* Move imports to top for websocket_api * Move back an import because of circular dependency, add annotations
This commit is contained in:
parent
21cf6777bb
commit
6de8072e8a
10 changed files with 23 additions and 28 deletions
|
@ -3,13 +3,12 @@ import voluptuous as vol
|
|||
from voluptuous.humanize import humanize_error
|
||||
|
||||
from homeassistant.auth.models import RefreshToken, User
|
||||
from homeassistant.components.http.ban import process_wrong_login, process_success_login
|
||||
from homeassistant.components.http.ban import process_success_login, process_wrong_login
|
||||
from homeassistant.const import __version__
|
||||
|
||||
from .connection import ActiveConnection
|
||||
from .error import Disconnect
|
||||
|
||||
|
||||
# mypy: allow-untyped-calls, allow-untyped-defs
|
||||
|
||||
TYPE_AUTH = "auth"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue