f0cus10 opened a new issue, #24426:
URL: https://github.com/apache/airflow/issues/24426

   ### Description
   
   Request to make properties of tasks such as `priority_weight` and 
`pool_slots` be specified through variables passed into the `params`. 
   
   Decorated tasks should also have the ability to specify these values based 
on external triggers or schedules. 
   
   ### Use case/motivation
   
   **Motivation for `pool_slots`**
   We execute the same DAG for running workflows that consume different amount 
of resources based on the client. The number of resources used for the client 
would be specified when the DAG is triggered. 
   
   **Motivation for `priority_weight`**
   Different tenants in our system also use the same DAG but have different 
priorities. Therefore, we need a way to prioritize DAG runs of one client over 
the other via `params` passed into the DAG
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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