From 3d5a1ce31c5a340f71d318b2ded73bf083cec0aa Mon Sep 17 00:00:00 2001 From: Amir Mor <49829354+amirmor1@users.noreply.github.com> Date: Tue, 4 Jun 2024 10:03:37 +0300 Subject: [PATCH] Update dataplex.py Add job_id to template_fields, in order to easily provide returned value from DataplexRunDataQualityScanOperator (the returned value is the triggered job_id), to avoid List operations --- airflow/providers/google/cloud/operators/dataplex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/providers/google/cloud/operators/dataplex.py b/airflow/providers/google/cloud/operators/dataplex.py index 16276c4ee8263..04edc10795f02 100644 --- a/airflow/providers/google/cloud/operators/dataplex.py +++ b/airflow/providers/google/cloud/operators/dataplex.py @@ -1067,7 +1067,7 @@ class DataplexGetDataQualityScanResultOperator(GoogleCloudBaseOperator): is available. """ - template_fields = ("project_id", "data_scan_id", "impersonation_chain") + template_fields = ("project_id", "data_scan_id", "impersonation_chain", "job_id") def __init__( self,