mobuchowski commented on code in PR #37718:
URL: https://github.com/apache/airflow/pull/37718#discussion_r1508916916
##########
airflow/providers/openlineage/extractors/base.py:
##########
@@ -78,7 +78,9 @@ def _is_operator_disabled(self) -> bool:
return fully_qualified_class_name in self.disabled_operators
def validate(self):
- assert self.operator.task_type in self.get_operator_classnames()
+ if self.operator.task_type not in self.get_operator_classnames():
+ msg = f"Operator Type {self.operator.task_type} is not supported."
+ raise AssertionError(msg)
Review Comment:
Let's remove it, must have been deleted earlier.
--
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]