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/19 04:10:26 UTC

[GitHub] [airflow] uranusjr commented on a diff in pull request #25786: Add pre-commit hook for custom_operator_name

uranusjr commented on code in PR #25786:
URL: https://github.com/apache/airflow/pull/25786#discussion_r949782859


##########
airflow/decorators/branch_python.py:
##########
@@ -38,6 +38,8 @@ class _BranchPythonDecoratedOperator(DecoratedOperator, BranchPythonOperator):
         Defaults to False.
     """
 
+    custom_operator_name = "@task.branch"
+

Review Comment:
   ```suggestion
   ```



-- 
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