Skip to content

Commit

Permalink
Doc: Replace deprecated param from docstrings (#17709)
Browse files Browse the repository at this point in the history
Follow-up of apache/airflow#16267 . Docstrings should show new values instead of deprecated. (`max_active_tasks` instead of concurency)

GitOrigin-RevId: 3b41bb45e6e25c1482847e30793c2413b386589b
  • Loading branch information
kaxil authored and Cloud Composer Team committed Jul 10, 2022
1 parent ab65199 commit a6dfc4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airflow/models/dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ class DAG(LoggingMixin):
accessible in templates, namespaced under `params`. These
params can be overridden at the task level.
:type params: dict
:param concurrency: the number of task instances allowed to run
:param max_active_tasks: the number of task instances allowed to run
concurrently
:type concurrency: int
:type max_active_tasks: int
:param max_active_runs: maximum number of active DAG runs, beyond this
number of DAG runs in a running state, the scheduler won't create
new active DAG runs
Expand Down

0 comments on commit a6dfc4e

Please sign in to comment.