You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/08/19 02:13:43 UTC
[airflow] branch main updated: Doc: Replace deprecated param from
docstrings (#17709)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 3b41bb4 Doc: Replace deprecated param from docstrings (#17709)
3b41bb4 is described below
commit 3b41bb45e6e25c1482847e30793c2413b386589b
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Thu Aug 19 03:13:29 2021 +0100
Doc: Replace deprecated param from docstrings (#17709)
Follow-up of https://github.com/apache/airflow/pull/16267 . Docstrings should show new values instead of deprecated. (`max_active_tasks` instead of concurency)
---
airflow/models/dag.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow/models/dag.py b/airflow/models/dag.py
index fdfec18..ed21f96 100644
--- a/airflow/models/dag.py
+++ b/airflow/models/dag.py
@@ -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