components: correct imports

All imports must now be relative to work correctly with the
moonraker parent package.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan
2022-10-18 10:31:41 -04:00
parent b9a17e07e9
commit 0f8638fec7
38 changed files with 135 additions and 146 deletions

View File

@@ -20,10 +20,9 @@ from typing import (
Deque,
)
if TYPE_CHECKING:
from confighelper import ConfigHelper
from websockets import WebRequest
from . import klippy_apis
APIComp = klippy_apis.KlippyAPI
from ..confighelper import ConfigHelper
from ..websockets import WebRequest
from .klippy_apis import KlippyAPI as APIComp
GCQueue = Deque[Dict[str, Any]]
TempStore = Dict[str, Dict[str, Deque[float]]]