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 2021/07/22 14:32:44 UTC

[GitHub] [airflow] jmaldon1 commented on issue #17164: `params` not working with Python Task Decorator. [jinja2.exceptions.UndefinedError: 'dict object' has no attribute]

jmaldon1 commented on issue #17164:
URL: https://github.com/apache/airflow/issues/17164#issuecomment-884961413


   SOLUTION:
   params actually go into the `@task` decorator.
   
   ```python
   @task(params={
           "target_table": target_table
           })
   ```


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