Skip to content

Commit 3c9a3f3

Browse files
committed
add return type to get_project
1 parent 6cdf7f4 commit 3c9a3f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ def _get_single(self, db_object_type, uid):
427427
else:
428428
return db_object_type(self, res)
429429

430-
def get_project(self, project_id):
430+
def get_project(self, project_id) -> Project:
431431
""" Gets a single Project with the given ID.
432432
433433
>>> project = client.get_project("<project_id>")

0 commit comments

Comments
 (0)