shahar1 commented on code in PR #38673:
URL: https://github.com/apache/airflow/pull/38673#discussion_r1558252126
##########
airflow/providers/google/cloud/operators/automl.py:
##########
@@ -429,6 +519,8 @@ def __init__(
self.impersonation_chain = impersonation_chain
def execute(self, context: Context):
+ if "translation_dataset_metadata" in self.dataset:
+ _raise_exception_for_deprecated_operator(self.__class__.__name__,
"CreateDatasetOperator")
Review Comment:
Please add a test for this `if` (and similar `if`s that raise an exception)
--
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]