Skip to content

Commit c8d63f6

Browse files
committed
add return types
1 parent bd8831c commit c8d63f6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

labelbox/client.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,8 @@ def delete_unused_ontology(self, ontology_id: str) -> None:
944944
"Failed to delete the ontology, message: " +
945945
str(response.json()['message']))
946946

947-
def update_feature_schema_title(self, feature_schema_id: str, title: str):
947+
def update_feature_schema_title(self, feature_schema_id: str,
948+
title: str) -> Entity.FeatureSchema:
948949
"""
949950
Updates a title of a feature schema
950951
Args:
@@ -971,7 +972,8 @@ def update_feature_schema_title(self, feature_schema_id: str, title: str):
971972
"Failed to update the feature schema, message: " +
972973
str(response.json()['message']))
973974

974-
def upsert_feature_schema(self, feature_schema: Dict):
975+
def upsert_feature_schema(self,
976+
feature_schema: Dict) -> Entity.FeatureSchema:
975977
"""
976978
Upserts a feature schema
977979
Args:

0 commit comments

Comments
 (0)