Skip to content

Commit bfe66a5

Browse files
committed
Fix SDK default task name
1 parent 999a3ab commit bfe66a5

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

labelbox/schema/model_run.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,6 @@ def export_v2(self,
467467
create_task_query_str = """mutation exportDataRowsInModelRunPyApi($input: ExportDataRowsInModelRunInput!){
468468
%s(input: $input) {taskId} }
469469
""" % (mutation_name)
470-
if (task_name is None):
471-
task_name = f'Export Data Rows in Model Run - {self.name}'
472470

473471
_params = params or ModelRunExportParams()
474472

labelbox/schema/project.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,6 @@ def export_v2(self,
411411
task_name: Optional[str] = None,
412412
params: Optional[ProjectExportParams] = None) -> Task:
413413

414-
if (task_name is None):
415-
task_name = f'Export Data Rows in Project - {self.name}'
416-
417414
_params = params or ProjectExportParams({
418415
"attachments": False,
419416
"metadata_fields": False,

0 commit comments

Comments
 (0)