potiuk commented on issue #23129:
URL: https://github.com/apache/airflow/issues/23129#issuecomment-1121376868

   Also @leahecole TIL - while answering someone's question.
   
   I think you COULD use user-defined macros to achieve what you want: 
user_defined_macros at DAG level
   
   ```
   user_defined_macros = { "project_id" : PROJECT_ID }
   
   ....
   
   
   task_1( project_id = '{{ project_id }}')
   
   ...
   task_2( project_id = '{{ project_id }}')
   
   ```
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to