Skip to content

Commit

Permalink
Fix deferrable parameter in init
Browse files Browse the repository at this point in the history
  • Loading branch information
VladaZakharova committed Jul 11, 2023
1 parent 2c6174f commit c6c1852
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion airflow/providers/apache/beam/operators/beam.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
from typing import IO, TYPE_CHECKING, Any, Callable, Sequence

from airflow import AirflowException
from airflow.configuration import conf
from airflow.models import BaseOperator
from airflow.providers.apache.beam.hooks.beam import BeamHook, BeamRunnerType
from airflow.providers.apache.beam.triggers.beam import BeamPipelineTrigger
Expand Down Expand Up @@ -267,7 +268,7 @@ def __init__(
py_system_site_packages: bool = False,
gcp_conn_id: str = "google_cloud_default",
dataflow_config: DataflowConfiguration | dict | None = None,
deferrable: bool = False,
deferrable: bool = conf.getboolean("operators", "default_deferrable", fallback=False),
**kwargs,
) -> None:
super().__init__(
Expand Down

0 comments on commit c6c1852

Please sign in to comment.