mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
use relative imports
This commit is contained in:
parent
562fabd60d
commit
b985fe852e
4 changed files with 14 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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: {}"
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue