Skip to content

Commit b8ef057

Browse files
author
Matt Sokoloff
committed
remove extra print, format
1 parent c1cc1b2 commit b8ef057

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

labelbox/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ def convert_value(value):
125125
data = json.dumps({'query': query, 'variables': params}).encode('utf-8')
126126

127127
try:
128-
print(data)
129128
response = requests.post(self.endpoint.replace('/graphql', '/_gql')
130129
if experimental else self.endpoint,
131130
data=data,
@@ -378,7 +377,7 @@ def get_organization(self):
378377
"""
379378
return self._get_single(Organization, None)
380379

381-
def _get_all(self, db_object_type, where, filter_deleted = True):
380+
def _get_all(self, db_object_type, where, filter_deleted=True):
382381
""" Fetches all the objects of the given type the user has access to.
383382
384383
Args:

labelbox/schema/model.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
class Model(DbObject):
6-
"""A model represents a program that has been trained and
6+
"""A model represents a program that has been trained and
77
can make predictions on new data.
88
Attributes:
99
name (str)
@@ -12,7 +12,7 @@ class Model(DbObject):
1212
slices (Relationship): `ToMany` relationship to Slice (TODO)
1313
"""
1414

15-
name = Field.String("name")
15+
name = Field.String("name")
1616

17-
model_runs = Relationship.ToMany("ModelRun", False)
18-
ontology = Relationship.ToOne("Ontology", False)
17+
model_runs = Relationship.ToMany("ModelRun", False)
18+
ontology = Relationship.ToOne("Ontology", False)

labelbox/schema/model_run.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33

44

55
class ModelRun(DbObject):
6-
name = Field.String("name")
6+
name = Field.String("name")
77
updated_at = Field.DateTime("updated_at")
88
created_at = Field.DateTime("created_at")
99
created_by_id = Field.String("created_by_id", "createdBy")
1010

11-
1211
def upsert_labels(self):
1312
...
1413

0 commit comments

Comments
 (0)