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 2020/11/04 11:38:39 UTC

[GitHub] [airflow] JavierLopezT opened a new issue #12086: Default default_args

JavierLopezT opened a new issue #12086:
URL: https://github.com/apache/airflow/issues/12086


   I use for every single dag the same s3_bucket, email and start_date. It would be nice that those default_args won't have to be written explicitly in each dag file, but taken from the airflow.cfg file or default_args.cfg file or something like that. 


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] turbaszek commented on issue #12086: Default default_args

Posted by GitBox <gi...@apache.org>.
turbaszek commented on issue #12086:
URL: https://github.com/apache/airflow/issues/12086#issuecomment-721720328


   Why not use cluster policy?


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] JavierLopezT closed issue #12086: Default default_args

Posted by GitBox <gi...@apache.org>.
JavierLopezT closed issue #12086:
URL: https://github.com/apache/airflow/issues/12086


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] msumit commented on issue #12086: Default default_args

Posted by GitBox <gi...@apache.org>.
msumit commented on issue #12086:
URL: https://github.com/apache/airflow/issues/12086#issuecomment-721710598


   not tried, but I think you can create a default_args.py file along with your dags and write a DEFAULT_ARGS dict there and just import it in ur dags everytime?


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] JavierLopezT commented on issue #12086: Default default_args

Posted by GitBox <gi...@apache.org>.
JavierLopezT commented on issue #12086:
URL: https://github.com/apache/airflow/issues/12086#issuecomment-722986766


   > Why not use cluster policy?
   
   Ok, I didn't know that. Closing the issue then, thank you. Although I think having more documentation with examples of what can be achieved with cluster policy would be very nice


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] turbaszek commented on issue #12086: Default default_args

Posted by GitBox <gi...@apache.org>.
turbaszek commented on issue #12086:
URL: https://github.com/apache/airflow/issues/12086#issuecomment-723002312


   @JavierLopezT would you like to add them? It's best when the documentation comes from users who are using a feature 👍 


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org