Skip to content

Commit

Permalink
Add project_id as a templated variable in two BQ operators (#24768)
Browse files Browse the repository at this point in the history
  • Loading branch information
leahecole committed Jul 13, 2022
1 parent d2459a2 commit 77626b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airflow/providers/google/cloud/operators/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -1871,6 +1871,7 @@ class BigQueryUpsertTableOperator(BaseOperator):
'dataset_id',
'table_resource',
'impersonation_chain',
'project_id',
)
template_fields_renderers = {"table_resource": "json"}
ui_color = BigQueryUIColors.TABLE.value
Expand Down Expand Up @@ -2086,6 +2087,7 @@ class BigQueryInsertJobOperator(BaseOperator):
"configuration",
"job_id",
"impersonation_chain",
"project_id",
)
template_ext: Sequence[str] = (
".json",
Expand Down

0 comments on commit 77626b7

Please sign in to comment.
  翻译: