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/07/22 19:56:56 UTC

[GitHub] [airflow] josh-fell commented on a diff in pull request #25242: Update core example DAGs to use `@task.branch` decorator

josh-fell commented on code in PR #25242:
URL: https://github.com/apache/airflow/pull/25242#discussion_r927951228


##########
airflow/decorators/base.py:
##########
@@ -531,6 +531,9 @@ def expand(self, **kwargs: "Mappable") -> XComArg:
     def partial(self, **kwargs: Any) -> "Task[Function]":
         ...
 
+    def override(self, **kwargs: Any) -> "_TaskDecorator[Function, OperatorSubclass]":

Review Comment:
   To make mypy happy now that an example DAG uses the `override()` method.



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