ephraimbuddy commented on a change in pull request #20900:
URL: https://github.com/apache/airflow/pull/20900#discussion_r786476750
##########
File path: airflow/api_connexion/schemas/dag_schema.py
##########
@@ -79,7 +79,7 @@ class DAGDetailSchema(DAGSchema):
timezone = TimezoneField()
catchup = fields.Boolean()
orientation = fields.String()
- concurrency = fields.Integer() # TODO: Remove in Airflow 3.0
+ concurrency = fields.Method("get_concurrency") # TODO: Remove in Airflow
3.0
Review comment:
The concurrency here is the same as `max_active_tasks` but deprecated.
See
https://github.com/apache/airflow/blob/fce46e603b742087a4b72aad42b3126b9c262aa1/airflow/models/dag.py#L388-L396
--
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]