Skip to content

Commit b53f428

Browse files
committed
updateas
1 parent 5a44e3c commit b53f428

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

labelbox/client.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,9 @@ def _create(self, db_object_type, data):
533533
res = res["create%s" % db_object_type.type_name()]
534534
return db_object_type(self, res)
535535

536-
def create_dataset(self, iam_integration=IAMIntegration._DEFAULT, **kwargs) -> Dataset:
536+
def create_dataset(self,
537+
iam_integration=IAMIntegration._DEFAULT,
538+
**kwargs) -> Dataset:
537539
""" Creates a Dataset object on the server.
538540
539541
Attribute values are passed as keyword arguments.
@@ -724,7 +726,7 @@ def get_ontology(self, ontology_id) -> Ontology:
724726
"""
725727
return self._get_single(Entity.Ontology, ontology_id)
726728

727-
def get_ontologies(self, name_contains) -> PaginatedCollection]:
729+
def get_ontologies(self, name_contains) -> PaginatedCollection:
728730
"""
729731
Fetches all ontologies with names that match the name_contains string.
730732
@@ -795,7 +797,8 @@ def rootSchemaPayloadToFeatureSchema(client, payload):
795797
rootSchemaPayloadToFeatureSchema,
796798
['rootSchemaNodes', 'nextCursor'])
797799

798-
def create_ontology_from_feature_schemas(self, name, feature_schema_ids) -> Ontology:
800+
def create_ontology_from_feature_schemas(self, name,
801+
feature_schema_ids) -> Ontology:
799802
"""
800803
Creates an ontology from a list of feature schema ids
801804

0 commit comments

Comments
 (0)