use relative imports

This commit is contained in:
iLLiCiTiT 2021-01-22 15:24:16 +01:00
parent 562fabd60d
commit b985fe852e
4 changed files with 14 additions and 9 deletions

View file

@ -5,8 +5,8 @@ from abc import ABCMeta, abstractmethod, abstractproperty
import six
from lib import NOT_SET, convert_data_to_gui_data
from constants import (
from .lib import NOT_SET, convert_data_to_gui_data
from .constants import (
OverrideState,
WRAPPER_TYPES,
SYSTEM_SETTINGS_KEY

View file

@ -1,3 +1,11 @@
from .item_entities import ItemEntity
from .lib import NOT_SET
from .constants import (
OverrideState,
METADATA_KEYS
)
class InputEntity(ItemEntity):
type_error_template = "Got invalid value type {}. Expected: {}"

View file

@ -1,8 +1,8 @@
import copy
from abc import abstractmethod
from lib import NOT_SET
from constants import (
from .lib import NOT_SET
from .constants import (
OverrideState,
WRAPPER_TYPES,
METADATA_KEYS,
@ -10,10 +10,7 @@ from constants import (
M_ENVIRONMENT_KEY,
M_DYNAMIC_KEY_LABEL
)
from base_entity import (
BaseEntity,
RootEntity
)
from .base_entity import BaseEntity
"""
# TODO

View file

@ -2,7 +2,7 @@ import os
import re
import json
import copy
from constants import (
from .constants import (
M_OVERRIDEN_KEY,
M_ENVIRONMENT_KEY,
M_DYNAMIC_KEY_LABEL