Skip to content

Commit 2ca4d86

Browse files
committed
ignore type
1 parent 2f62897 commit 2ca4d86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

labelbox/schema/batch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(self, client, project_id, *args, **kwargs):
4040
super().__init__(client, *args, **kwargs)
4141
self.project_id = project_id
4242

43-
def project(self) -> Project:
43+
def project(self) -> 'Project': # type: ignore
4444
""" Returns Project which this Batch belongs to
4545
4646
Raises:
@@ -55,7 +55,7 @@ def project(self) -> Project:
5555
response = self.client.execute(query_str, params)
5656

5757
if response is None:
58-
raise ResourceNotFoundError(Project, params)
58+
raise ResourceNotFoundError(Entity.Project, params)
5959

6060
return Entity.Project(self.client, response["project"])
6161

0 commit comments

Comments
 (0)