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:
springstan authored and Paulus Schoutsen committed 2019-12-08 12:19:15 +01:00
1 parent 21cf6777bb
commit 6de8072e8a
10 files changed
+23 -28

No files matched your search

@@ -4,12 +4,11 @@ from typing import Any, Callable, Dict, Hashable
import voluptuous as vol
from homeassistant.core import callback, Context
from homeassistant.core import Context, callback
from homeassistant.exceptions import Unauthorized
from . import const, messages
# mypy: allow-untyped-calls, allow-untyped-defs