Skip to content

Commit

Permalink
fix(google): remove unnecessay poll_interval
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee-W committed Jan 25, 2024
1 parent ec4880a commit 0885926
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions astronomer/providers/google/cloud/operators/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
stacklevel=2,
)

poll_interval: float = kwargs.pop("poll_interval", 4.0)
super().__init__(*args, deferrable=True, **kwargs)
self.poll_interval = poll_interval


class BigQueryCheckOperatorAsync(BigQueryCheckOperator):
Expand All @@ -55,9 +53,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
DeprecationWarning,
stacklevel=2,
)
poll_interval: float = kwargs.pop("poll_interval", 4.0)
super().__init__(*args, deferrable=True, **kwargs)
self.poll_interval = poll_interval


class BigQueryGetDataOperatorAsync(BigQueryGetDataOperator):
Expand All @@ -77,10 +73,8 @@ def __init__(self, *args: Any, use_legacy_sql: bool = False, **kwargs: Any) -> N
DeprecationWarning,
stacklevel=2,
)
poll_interval: float = kwargs.pop("poll_interval", 4.0)
super().__init__(*args, deferrable=True, **kwargs)
self.use_legacy_sql = use_legacy_sql
self.poll_interval = poll_interval


class BigQueryIntervalCheckOperatorAsync(BigQueryIntervalCheckOperator):
Expand All @@ -100,9 +94,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
DeprecationWarning,
stacklevel=2,
)
poll_interval: float = kwargs.pop("poll_interval", 4.0)
super().__init__(*args, deferrable=True, **kwargs)
self.poll_interval = poll_interval


class BigQueryValueCheckOperatorAsync(BigQueryValueCheckOperator):
Expand All @@ -122,6 +114,4 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
DeprecationWarning,
stacklevel=2,
)
poll_interval: float = kwargs.pop("poll_interval", 4.0)
super().__init__(*args, deferrable=True, **kwargs)
self.poll_interval = poll_interval

0 comments on commit 0885926

Please sign in to comment.