We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea434a1 commit 93ba65bCopy full SHA for 93ba65b
labelbox/orm/model.py
@@ -1,5 +1,5 @@
1
from enum import Enum, auto
2
-from typing import Union
+from typing import Dict, Union
3
4
from labelbox import utils
5
from labelbox.exceptions import InvalidAttributeError
@@ -239,7 +239,7 @@ class EntityMeta(type):
239
of the Entity class object so they can be referenced for example like:
240
Entity.Project.
241
"""
242
- mappings = {}
+ mappings : Dict[str, "Entity"] = {}
243
244
def __init__(cls, clsname, superclasses, attributedict):
245
super().__init__(clsname, superclasses, attributedict)
0 commit comments