uranusjr commented on code in PR #22834:
URL: https://github.com/apache/airflow/pull/22834#discussion_r846630702
##########
airflow/decorators/python.py:
##########
@@ -55,6 +55,10 @@ def __init__(self, *, python_callable, op_args, op_kwargs,
**kwargs) -> None:
**kwargs,
)
+ @property
+ def get_operator_ui_name(self):
+ return 'PythonOperator'
Review Comment:
But the metrics are currently using `task_type`. Since we’re introducing a
new property (like in this PR), we can do whatever we want.
--
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]