File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -388,6 +388,9 @@ def generate_export(
388388 self ,
389389 kind = 'Annotations' ,
390390 return_type = "data" ,
391+ source = "job" ,
392+ masks = False ,
393+ directory_id = None ,
391394 wait_for_export_generation = True ,
392395 ann_is_complete = None # Bool. None=='all', True=='complete' tasks only
393396 ):
@@ -417,10 +420,10 @@ def generate_export(
417420 spec_dict = {
418421 'job_id' : self .id ,
419422 'kind' : kind ,
420- 'source' : "job" ,
423+ 'source' : source ,
421424 'file_comparison_mode' : "latest" ,
422- 'directory_id' : None ,
423- 'masks' : False ,
425+ 'directory_id' : directory_id ,
426+ 'masks' : masks ,
424427 'ann_is_complete' : ann_is_complete ,
425428 'return_type' : return_type ,
426429 'wait_for_export_generation' : wait_for_export_generation
You can’t perform that action at this time.
0 commit comments