From 98c50ae4f70d8384eeac0d35cc4281a6b4301240 Mon Sep 17 00:00:00 2001 From: Anthony Sarkis <18080164+anthony-sarkis@users.noreply.github.com> Date: Wed, 22 Sep 2021 09:24:25 -0700 Subject: [PATCH 1/2] WIP add ann_is_complete --- sdk/diffgram/job/job.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk/diffgram/job/job.py b/sdk/diffgram/job/job.py index 4059399..c9e537c 100644 --- a/sdk/diffgram/job/job.py +++ b/sdk/diffgram/job/job.py @@ -373,7 +373,8 @@ def generate_export( self, kind='Annotations', return_type="data", - wait_for_export_generation=True + wait_for_export_generation=True, + ann_is_complete=True ): """ @@ -405,6 +406,7 @@ def generate_export( 'file_comparison_mode': "latest", 'directory_id': None, 'masks': False, + 'ann_is_complete': ann_is_complete, 'return_type': return_type, 'wait_for_export_generation': wait_for_export_generation } From 98ecf38594899e043cd27ff02ce516a71ac6fab6 Mon Sep 17 00:00:00 2001 From: Anthony Sarkis <18080164+anthony-sarkis@users.noreply.github.com> Date: Thu, 23 Sep 2021 09:27:34 -0700 Subject: [PATCH 2/2] Maintain alignment with API default of None --- sdk/diffgram/job/job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/diffgram/job/job.py b/sdk/diffgram/job/job.py index c9e537c..df01702 100644 --- a/sdk/diffgram/job/job.py +++ b/sdk/diffgram/job/job.py @@ -374,7 +374,7 @@ def generate_export( kind='Annotations', return_type="data", wait_for_export_generation=True, - ann_is_complete=True + ann_is_complete=None # Bool. None=='all', True=='complete' tasks only ): """