File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -46,19 +46,18 @@ def project(self) -> Project:
4646 Raises:
4747 LabelboxError: if the project is not found
4848 """
49- Project = Entity .Project
5049 query_str = """query getProjectPyApi($projectId: ID!) {
5150 project(
5251 where: {id: $projectId}){
5352 %s
54- }}""" % query .results_query_part (Project )
53+ }}""" % query .results_query_part (Entity . Project )
5554 params = {"projectId" : self .project_id }
5655 response = self .client .execute (query_str , params )
5756
5857 if response is None :
5958 raise ResourceNotFoundError (Project , params )
6059
61- return Project (self .client , response ["project" ])
60+ return Entity . Project (self .client , response ["project" ])
6261
6362 def remove_queued_data_rows (self ) -> None :
6463 """ Removes remaining queued data rows from the batch and labeling queue.
You can’t perform that action at this time.
0 commit comments