You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/08/04 12:56:44 UTC

[GitHub] [airflow] ashb commented on a diff in pull request #22834: Operator name separate from class

ashb commented on code in PR #22834:
URL: https://github.com/apache/airflow/pull/22834#discussion_r937747705


##########
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:
   Yes, TP is right.



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org