olegkachur-e commented on code in PR #70922:
URL: https://github.com/apache/airflow/pull/70922#discussion_r3714079626
##########
providers/google/src/airflow/providers/google/cloud/operators/dataproc.py:
##########
@@ -713,6 +718,7 @@ def __init__(
**kwargs,
) -> None:
# TODO: remove one day
+ self._legacy_cluster_kwargs: dict | None = None
Review Comment:
The kwargs functionality is deprecated and scheduled for deletion, so what
the point bringing them into templated fields, the original issue
https://github.com/apache/airflow/issues/70296 states
> Template fields are rendered after an operator's constructor runs. Any
logic applied to a template-field parameter's value inside __init__ —
validation, type checks, transformation, string interpolation — therefore
operates on the un-rendered Jinja expression, not the real value.
So whats the point to bringing them into templating fields?
--
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]