radhwene commented on code in PR #61148:
URL: https://github.com/apache/airflow/pull/61148#discussion_r2868865141
##########
providers/google/src/airflow/providers/google/cloud/sensors/bigquery.py:
##########
@@ -77,17 +76,7 @@ def __init__(
**kwargs,
) -> None:
if deferrable and "poke_interval" not in kwargs:
- # TODO: Remove once deprecated
- if "polling_interval" in kwargs:
- kwargs["poke_interval"] = kwargs["polling_interval"]
- warnings.warn(
- "Argument `poll_interval` is deprecated and will be
removed "
- "in a future release. Please use `poke_interval`
instead.",
- AirflowProviderDeprecationWarning,
- stacklevel=2,
- )
- else:
- kwargs["poke_interval"] = 5
Review Comment:
You’re right, thanks for pointing this out. I restored the deprecated code
path for the current operator to keep it aligned with the Google provider
deprecation policy.
Could you please revalidate the PR when you have a moment?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]