Skip to content

Commit 871139a

Browse files
author
Matt Sokoloff
committed
format
1 parent 93ba65b commit 871139a

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

labelbox/orm/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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 : Dict[str, "Entity"] = {}
242+
mappings: Dict[str, "Entity"] = {}
243243

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

labelbox/orm/query.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,13 +298,9 @@ def relationship(source, relationship, where, order_by):
298298
to_many = relationship.relationship_type == Relationship.Type.ToMany
299299
subquery = Query(relationship.graphql_name, relationship.destination_type,
300300
where, to_many, order_by)
301-
302-
303-
304301
query_where = type(source).uid == source.uid if isinstance(source, Entity) \
305302
else None
306303
query = Query(utils.camel_case(source.type_name()), subquery, query_where)
307-
308304
return query.format_top("Get" + source.type_name() +
309305
utils.title_case(relationship.graphql_name))
310306

labelbox/schema/project.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,7 @@ class LabelingParameterOverride(DbObject):
675675
"""
676676
priority = Field.Int("priority")
677677
number_of_labels = Field.Int("number_of_labels")
678+
678679
data_row = Relationship.ToOne("DataRow", cache=True)
679680

680681

0 commit comments

Comments
 (0)