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(
388
388
self ,
389
389
kind = 'Annotations' ,
390
390
return_type = "data" ,
391
+ source = "job" ,
392
+ masks = False ,
393
+ directory_id = None ,
391
394
wait_for_export_generation = True ,
392
395
ann_is_complete = None # Bool. None=='all', True=='complete' tasks only
393
396
):
@@ -417,10 +420,10 @@ def generate_export(
417
420
spec_dict = {
418
421
'job_id' : self .id ,
419
422
'kind' : kind ,
420
- 'source' : "job" ,
423
+ 'source' : source ,
421
424
'file_comparison_mode' : "latest" ,
422
- 'directory_id' : None ,
423
- 'masks' : False ,
425
+ 'directory_id' : directory_id ,
426
+ 'masks' : masks ,
424
427
'ann_is_complete' : ann_is_complete ,
425
428
'return_type' : return_type ,
426
429
'wait_for_export_generation' : wait_for_export_generation
You can’t perform that action at this time.
0 commit comments