Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions labelbox/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def _get_single(self, db_object_type, uid):
else:
return db_object_type(self, res)

def get_project(self, project_id) -> Project:
def get_project(self, project_id):
""" Gets a single Project with the given ID.

>>> project = client.get_project("<project_id>")
Expand Down Expand Up @@ -918,4 +918,4 @@ def get_model_run(self, model_run_id: str) -> ModelRun:
Returns:
A ModelRun object.
"""
return self._get_single(Entity.ModelRun, model_run_id)
return self._get_single(Entity.ModelRun, model_run_id)
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
],
extras_require={
'data': [
"shapely", "geojson", "numpy", "PILLOW",
"opencv-python", "typeguard", "imagesize", "pyproj", "pygeotile",
"shapely", "geojson", "numpy", "PILLOW", "opencv-python",
"typeguard", "imagesize", "pyproj", "pygeotile",
"typing-extensions", "packaging"
],
},
Expand Down