Skip to content

Commit bce56cf

Browse files
committed
no-mistakes(lint): lint: fix 4 unused Python imports; ports typecheck/compile clean
1 parent 634bce0 commit bce56cf

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

server/python/src/metaobjects/core_types.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
)
3636
from .meta.core.field.meta_field import MetaField
3737
from .meta.persistence.db.db_constants import (
38-
FIELD_ATTR_DB_COLUMN_TYPE,
3938
FIELD_ATTR_DB_INDEXED,
4039
)
4140
from .meta.core.identity.identity_constants import (
@@ -49,15 +48,14 @@
4948
IDENTITY_SUBTYPE_SECONDARY,
5049
)
5150
from .meta.core.identity.meta_identity import MetaIdentity
52-
from .meta.core.index.index_constants import INDEX_ATTR_FIELDS, INDEX_SUBTYPE_LOOKUP, INDEX_SUBTYPES
51+
from .meta.core.index.index_constants import INDEX_ATTR_FIELDS, INDEX_SUBTYPES
5352
from .meta.core.index.meta_index import MetaIndex
5453
from .meta.core.object.meta_object import MetaObject
5554
from .meta.core.object.object_constants import (
5655
OBJECT_ATTR_DISCRIMINATOR,
5756
OBJECT_ATTR_DISCRIMINATOR_VALUE,
5857
OBJECT_SUBTYPE_ENTITY,
5958
OBJECT_SUBTYPE_PROJECTION,
60-
OBJECT_SUBTYPE_VALUE,
6159
OBJECT_SUBTYPES,
6260
)
6361
from .meta.core.relationship.meta_relationship import MetaRelationship

server/python/src/metaobjects/loader/validation_passes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
RELATIONSHIP_ATTR_THROUGH,
9696
)
9797
from ..meta.core.identity.identity_constants import (
98-
IDENTITY_SUBTYPE_PRIMARY,
9998
IDENTITY_SUBTYPE_REFERENCE,
10099
IDENTITY_REFERENCE_ATTR_REFERENCES,
101100
)

0 commit comments

Comments
 (0)