Skip to content

Commit 93ba65b

Browse files
author
Matt Sokoloff
committed
mypy update
1 parent ea434a1 commit 93ba65b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

labelbox/orm/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from enum import Enum, auto
2-
from typing import Union
2+
from typing import Dict, Union
33

44
from labelbox import utils
55
from labelbox.exceptions import InvalidAttributeError
@@ -239,7 +239,7 @@ class EntityMeta(type):
239239
of the Entity class object so they can be referenced for example like:
240240
Entity.Project.
241241
"""
242-
mappings = {}
242+
mappings : Dict[str, "Entity"] = {}
243243

244244
def __init__(cls, clsname, superclasses, attributedict):
245245
super().__init__(clsname, superclasses, attributedict)

0 commit comments

Comments
 (0)