Skip to content

Commit

Permalink
Revert "remove unecessary templated field (apache#36491)"
Browse files Browse the repository at this point in the history
This reverts commit f070efa.
  • Loading branch information
romsharon98 authored Jan 2, 2024
1 parent 383ad31 commit 9ce2466
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"""This module contains Google BigQuery to PostgreSQL operator."""
from __future__ import annotations

from typing import Sequence

from airflow.providers.google.cloud.transfers.bigquery_to_sql import BigQueryToSqlBaseOperator
from airflow.providers.postgres.hooks.postgres import PostgresHook

Expand All @@ -34,6 +36,8 @@ class BigQueryToPostgresOperator(BigQueryToSqlBaseOperator):
:param postgres_conn_id: Reference to :ref:`postgres connection id <howto/connection:postgres>`.
"""

template_fields: Sequence[str] = (*BigQueryToSqlBaseOperator.template_fields, "dataset_id", "table_id")

def __init__(
self,
*,
Expand Down

0 comments on commit 9ce2466

Please sign in to comment.