You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "dzhigimont (via GitHub)" <gi...@apache.org> on 2023/05/12 15:06:51 UTC

[GitHub] [airflow] dzhigimont commented on issue #31236: The @task.branch inside the dags.html seems to be incorrect

dzhigimont commented on issue #31236:
URL: https://github.com/apache/airflow/issues/31236#issuecomment-1545892180

   @pierrejeambrun There is the issue, I've just checked. The solution is easy, the error occurs when we try to call `branch_func()` without the ti argument, so we should just add the default value for the argument,  there is no need to change to `**kwargs`
   ```
   def branch_func(ti=None):
     ...
   ```
   


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