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 2023/01/03 00:46:02 UTC

[GitHub] [airflow] uranusjr commented on pull request #28667: Fix params passing to TaskFlow tasks run with CLI

uranusjr commented on PR #28667:
URL: https://github.com/apache/airflow/pull/28667#issuecomment-1369297403

   I don’t think this is correct. [Params are params](https://airflow.apache.org/docs/apache-airflow/stable/concepts/params.html), and different from arguments to the task function. You can access params in a taskflow task like this:
   
   ```python
   @task
   def my_task(params=None):
       # At runtime 'params' holds the params.
   ```


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