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/27 03:58:13 UTC

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

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


##########
airflow/decorators/base.py:
##########
@@ -533,6 +533,9 @@ def expand(self, **kwargs: "Mappable") -> XComArg:
     def expand_kwargs(self, kwargs: XComArg, *, strict: bool = True) -> XComArg:
         ...
 
+    def override(self, **kwargs: Any) -> "_TaskDecorator[FParams, FReturn, OperatorSubclass]":

Review Comment:
   ```suggestion
       def override(self, **kwargs: Any) -> "Task[FParams, FReturn]":
   ```
   
   This is the user-facing type, more friendly to see in autocompletion.



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