VVildVVolf commented on code in PR #31082:
URL: https://github.com/apache/airflow/pull/31082#discussion_r1186296462
##########
airflow/providers/google/cloud/operators/dataflow.py:
##########
@@ -600,7 +600,7 @@ def __init__(
options: dict[str, Any] | None = None,
dataflow_default_options: dict[str, Any] | None = None,
parameters: dict[str, str] | None = None,
- location: str = DEFAULT_DATAFLOW_LOCATION,
+ location: str | None = None,
Review Comment:
It is bug fix. The additional tests are provided - the case is valid but
will be broken without the fix. The default value is not necessary on the
operator level, since it is being passed to the hook anyway (and it has
default).
--
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]