Skip to content

Commit 0228a36

Browse files
author
Matt Sokoloff
committed
clean up
1 parent df5cb03 commit 0228a36

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

labelbox/client.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -736,10 +736,9 @@ def get_ontologies(self, name_contains):
736736
}
737737
""" % query.results_query_part(Entity.Ontology)
738738
params = {'search': name_contains, 'filter': {'status': 'ALL'}}
739-
res = PaginatedCollection(self, query_str, params,
740-
['ontologies', 'nodes'], Entity.Ontology,
741-
['ontologies', 'nextCursor'])
742-
return res
739+
return PaginatedCollection(self, query_str, params,
740+
['ontologies', 'nodes'], Entity.Ontology,
741+
['ontologies', 'nextCursor'])
743742

744743
def get_root_schema_node(self, root_schema_id):
745744
"""
@@ -803,7 +802,6 @@ def create_ontology_from_root_schema_nodes(self, name,
803802
)
804803

805804
normalized = {'tools': tools, 'classifications': classifications}
806-
print(normalized)
807805
return self.create_ontology(name, normalized)
808806

809807
def create_ontology(self, name, normalized):

0 commit comments

Comments
 (0)