diff --git a/airflow-core/src/airflow/api_fastapi/core_api/datamodels/dags.py b/airflow-core/src/airflow/api_fastapi/core_api/datamodels/dags.py index 572b62b4818ce..0a5f34e8f25f1 100644 --- a/airflow-core/src/airflow/api_fastapi/core_api/datamodels/dags.py +++ b/airflow-core/src/airflow/api_fastapi/core_api/datamodels/dags.py @@ -186,7 +186,11 @@ def get_params(cls, params: abc.MutableMapping | None) -> dict | None: @computed_field # type: ignore[prop-decorator] @property def concurrency(self) -> int: - """Return max_active_tasks as concurrency.""" + """ + Return max_active_tasks as concurrency. + + Deprecated: Use max_active_tasks instead. + """ return self.max_active_tasks # Mypy issue https://github.com/python/mypy/issues/1362 diff --git a/airflow-core/src/airflow/api_fastapi/core_api/openapi/v2-rest-api-generated.yaml b/airflow-core/src/airflow/api_fastapi/core_api/openapi/v2-rest-api-generated.yaml index 8797232263e38..f3c373f3e7ea4 100644 --- a/airflow-core/src/airflow/api_fastapi/core_api/openapi/v2-rest-api-generated.yaml +++ b/airflow-core/src/airflow/api_fastapi/core_api/openapi/v2-rest-api-generated.yaml @@ -9156,7 +9156,10 @@ components: concurrency: type: integer title: Concurrency - description: Return max_active_tasks as concurrency. + description: 'Return max_active_tasks as concurrency. + + + Deprecated: Use max_active_tasks instead.' readOnly: true latest_dag_version: anyOf: diff --git a/airflow-core/src/airflow/ui/openapi-gen/requests/schemas.gen.ts b/airflow-core/src/airflow/ui/openapi-gen/requests/schemas.gen.ts index 204d2439c29fb..f9cbd88809bb2 100644 --- a/airflow-core/src/airflow/ui/openapi-gen/requests/schemas.gen.ts +++ b/airflow-core/src/airflow/ui/openapi-gen/requests/schemas.gen.ts @@ -1950,7 +1950,9 @@ export const $DAGDetailsResponse = { concurrency: { type: 'integer', title: 'Concurrency', - description: 'Return max_active_tasks as concurrency.', + description: `Return max_active_tasks as concurrency. + +Deprecated: Use max_active_tasks instead.`, readOnly: true }, latest_dag_version: { diff --git a/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts b/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts index c425e586bb97e..012b93241070d 100644 --- a/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts +++ b/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts @@ -541,6 +541,8 @@ export type DAGDetailsResponse = { readonly file_token: string; /** * Return max_active_tasks as concurrency. + * + * Deprecated: Use max_active_tasks instead. */ readonly concurrency: number; /** diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/ar/common.json b/airflow-core/src/airflow/ui/public/i18n/locales/ar/common.json index 24ada7022f29a..a83ce12bfff3f 100644 --- a/airflow-core/src/airflow/ui/public/i18n/locales/ar/common.json +++ b/airflow-core/src/airflow/ui/public/i18n/locales/ar/common.json @@ -45,7 +45,6 @@ "dag_zero": "لا يوجد أي Dag", "dagDetails": { "catchup": "إلحاق", - "concurrency": "تزامن", "dagRunTimeout": "مهلة تشغيل الDag", "defaultArgs": "متغيرات افتراضية", "description": "وصف", diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/de/common.json b/airflow-core/src/airflow/ui/public/i18n/locales/de/common.json index 6545563843f93..d09c1edb7f89c 100644 --- a/airflow-core/src/airflow/ui/public/i18n/locales/de/common.json +++ b/airflow-core/src/airflow/ui/public/i18n/locales/de/common.json @@ -25,7 +25,6 @@ "dag_other": "Dags", "dagDetails": { "catchup": "Nachgeholt", - "concurrency": "Parallelität", "dagRunTimeout": "Dag Lauf Zeitüberschreitung", "defaultArgs": "Standard-Parameter", "description": "Beschreibung", diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json b/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json index 1e9e271b3c899..cd4c9eefdb205 100644 --- a/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json +++ b/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json @@ -25,7 +25,6 @@ "dag_other": "Dags", "dagDetails": { "catchup": "Catchup", - "concurrency": "Concurrency", "dagRunTimeout": "Dag Run Timeout", "defaultArgs": "Default Args", "description": "Description", diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/es/common.json b/airflow-core/src/airflow/ui/public/i18n/locales/es/common.json index b16dfc59b02e8..50c76e152bd0e 100644 --- a/airflow-core/src/airflow/ui/public/i18n/locales/es/common.json +++ b/airflow-core/src/airflow/ui/public/i18n/locales/es/common.json @@ -24,7 +24,6 @@ "dag_other": "Dags", "dagDetails": { "catchup": "Catchup", - "concurrency": "Concurrencia", "dagRunTimeout": "Tiempo de Ejecución del Dag", "defaultArgs": "Argumentos por Defecto", "description": "Descripción", diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/fr/common.json b/airflow-core/src/airflow/ui/public/i18n/locales/fr/common.json index 4da39f775cf4d..152ee3072391f 100644 --- a/airflow-core/src/airflow/ui/public/i18n/locales/fr/common.json +++ b/airflow-core/src/airflow/ui/public/i18n/locales/fr/common.json @@ -23,7 +23,6 @@ "dag_other": "Dags", "dagDetails": { "catchup": "Rattrapage", - "concurrency": "Concurrence", "dagRunTimeout": "Délai d'exécution du Dag", "defaultArgs": "Arguments par défaut", "description": "Description", diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/he/common.json b/airflow-core/src/airflow/ui/public/i18n/locales/he/common.json index 5e2499f70c7a5..1b7e99e6f301f 100644 --- a/airflow-core/src/airflow/ui/public/i18n/locales/he/common.json +++ b/airflow-core/src/airflow/ui/public/i18n/locales/he/common.json @@ -25,7 +25,6 @@ "dag_other": "Dags", "dagDetails": { "catchup": "השלמה אוטומטית", - "concurrency": "מספר הרצות מקבילות", "dagRunTimeout": "זמן תפוגה להרצת Dag", "defaultArgs": "פרמטרי ברירת מחדל", "description": "תיאור", diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/ko/common.json b/airflow-core/src/airflow/ui/public/i18n/locales/ko/common.json index a524a18d01883..89252f07ef452 100644 --- a/airflow-core/src/airflow/ui/public/i18n/locales/ko/common.json +++ b/airflow-core/src/airflow/ui/public/i18n/locales/ko/common.json @@ -25,7 +25,6 @@ "dag_other": "Dags", "dagDetails": { "catchup": "캐치업", - "concurrency": "동시 샐행 수", "dagRunTimeout": "Dag 실행 제한 시간", "defaultArgs": "기본 인자", "description": "설명", diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/nl/common.json b/airflow-core/src/airflow/ui/public/i18n/locales/nl/common.json index 91b03a3bb1fc6..2abfe91a84d4d 100644 --- a/airflow-core/src/airflow/ui/public/i18n/locales/nl/common.json +++ b/airflow-core/src/airflow/ui/public/i18n/locales/nl/common.json @@ -25,7 +25,6 @@ "dag_other": "Dags", "dagDetails": { "catchup": "Catchup", - "concurrency": "Concurrency", "dagRunTimeout": "Dag Run timeout", "defaultArgs": "Standaard argumenten", "description": "Omschrijving", diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/pl/common.json b/airflow-core/src/airflow/ui/public/i18n/locales/pl/common.json index 352df56d83a52..b2e1e7ea9f581 100644 --- a/airflow-core/src/airflow/ui/public/i18n/locales/pl/common.json +++ b/airflow-core/src/airflow/ui/public/i18n/locales/pl/common.json @@ -35,7 +35,6 @@ "dag_other": "Dagi", "dagDetails": { "catchup": "Nadrabianie zaległości", - "concurrency": "Współbieżność", "dagRunTimeout": "Limit czasu wykonania", "defaultArgs": "Domyślne argumenty", "description": "Opis", diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/tr/common.json b/airflow-core/src/airflow/ui/public/i18n/locales/tr/common.json index 42d2f847c2456..2ab6f3a53e11b 100644 --- a/airflow-core/src/airflow/ui/public/i18n/locales/tr/common.json +++ b/airflow-core/src/airflow/ui/public/i18n/locales/tr/common.json @@ -25,7 +25,6 @@ "dag_other": "Dag'ler", "dagDetails": { "catchup": "Yakalama", - "concurrency": "Eş Zamanlılık", "dagRunTimeout": "Dag Çalıştırma Zaman Aşımı", "defaultArgs": "Varsayılan Argümanlar", "description": "Açıklama", diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/common.json b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/common.json index 04f3c39d653f2..fc49769790275 100644 --- a/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/common.json +++ b/airflow-core/src/airflow/ui/public/i18n/locales/zh-TW/common.json @@ -25,7 +25,6 @@ "dag_other": "Dags", "dagDetails": { "catchup": "自動回填", - "concurrency": "並行數", "dagRunTimeout": "Dag 執行超時", "defaultArgs": "預設參數", "description": "描述", diff --git a/airflow-core/src/airflow/ui/src/pages/Dag/Details.tsx b/airflow-core/src/airflow/ui/src/pages/Dag/Details.tsx index a618568ed4cf0..694792f4500c0 100644 --- a/airflow-core/src/airflow/ui/src/pages/Dag/Details.tsx +++ b/airflow-core/src/airflow/ui/src/pages/Dag/Details.tsx @@ -96,10 +96,6 @@ export const Details = () => { -