This is an automated email from the ASF dual-hosted git repository.
jscheffl 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 616a391a990 update description for search param factory (#50473)
616a391a990 is described below
commit 616a391a99053dc4526c206340f329daed0aed05
Author: Kalyan R <[email protected]>
AuthorDate: Tue May 13 01:38:23 2025 +0530
update description for search param factory (#50473)
* standardize variable naming for JSON body handling in action_logging
* add description to search param
---
.../src/airflow/api_fastapi/common/parameters.py | 9 ++++-
.../api_fastapi/core_api/openapi/_private_ui.yaml | 8 ++++
.../core_api/openapi/v1-rest-api-generated.yaml | 44 ++++++++++++++++++++++
.../ui/openapi-gen/queries/ensureQueryData.ts | 24 ++++++------
.../src/airflow/ui/openapi-gen/queries/prefetch.ts | 24 ++++++------
.../src/airflow/ui/openapi-gen/queries/queries.ts | 26 ++++++-------
.../src/airflow/ui/openapi-gen/queries/suspense.ts | 24 ++++++------
.../ui/openapi-gen/requests/services.gen.ts | 26 ++++++-------
.../airflow/ui/openapi-gen/requests/types.gen.ts | 39 +++++++++++++++++++
9 files changed, 161 insertions(+), 63 deletions(-)
diff --git a/airflow-core/src/airflow/api_fastapi/common/parameters.py
b/airflow-core/src/airflow/api_fastapi/common/parameters.py
index 141447488c2..afc24a7fe44 100644
--- a/airflow-core/src/airflow/api_fastapi/common/parameters.py
+++ b/airflow-core/src/airflow/api_fastapi/common/parameters.py
@@ -151,7 +151,14 @@ def search_param_factory(
pattern_name: str,
skip_none: bool = True,
) -> Callable[[str | None], _SearchParam]:
- def depends_search(value: str | None = Query(alias=pattern_name,
default=None)) -> _SearchParam:
+ DESCRIPTION = (
+ "SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). "
+ "Regular expressions are **not** supported."
+ )
+
+ def depends_search(
+ value: str | None = Query(alias=pattern_name, default=None,
description=DESCRIPTION),
+ ) -> _SearchParam:
search_parm = _SearchParam(attribute, skip_none)
value = search_parm.transform_aliases(value)
return search_parm.set_value(value)
diff --git
a/airflow-core/src/airflow/api_fastapi/core_api/openapi/_private_ui.yaml
b/airflow-core/src/airflow/api_fastapi/core_api/openapi/_private_ui.yaml
index 52ae3eeaf04..8531d0d19a3 100644
--- a/airflow-core/src/airflow/api_fastapi/core_api/openapi/_private_ui.yaml
+++ b/airflow-core/src/airflow/api_fastapi/core_api/openapi/_private_ui.yaml
@@ -171,7 +171,11 @@ paths:
anyOf:
- type: string
- type: 'null'
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards
(e.g. `%customer_%`).\
+ \ Regular expressions are **not** supported."
title: Dag Id Pattern
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards (e.g.
`%customer_%`).\
+ \ Regular expressions are **not** supported."
- name: dag_display_name_pattern
in: query
required: false
@@ -179,7 +183,11 @@ paths:
anyOf:
- type: string
- type: 'null'
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards
(e.g. `%customer_%`).\
+ \ Regular expressions are **not** supported."
title: Dag Display Name Pattern
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards (e.g.
`%customer_%`).\
+ \ Regular expressions are **not** supported."
- name: exclude_stale
in: query
required: false
diff --git
a/airflow-core/src/airflow/api_fastapi/core_api/openapi/v1-rest-api-generated.yaml
b/airflow-core/src/airflow/api_fastapi/core_api/openapi/v1-rest-api-generated.yaml
index 79cb4db78ac..5029389f50d 100644
---
a/airflow-core/src/airflow/api_fastapi/core_api/openapi/v1-rest-api-generated.yaml
+++
b/airflow-core/src/airflow/api_fastapi/core_api/openapi/v1-rest-api-generated.yaml
@@ -40,7 +40,11 @@ paths:
anyOf:
- type: string
- type: 'null'
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards
(e.g. `%customer_%`).\
+ \ Regular expressions are **not** supported."
title: Name Pattern
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards (e.g.
`%customer_%`).\
+ \ Regular expressions are **not** supported."
- name: uri_pattern
in: query
required: false
@@ -48,7 +52,11 @@ paths:
anyOf:
- type: string
- type: 'null'
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards
(e.g. `%customer_%`).\
+ \ Regular expressions are **not** supported."
title: Uri Pattern
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards (e.g.
`%customer_%`).\
+ \ Regular expressions are **not** supported."
- name: dag_ids
in: query
required: false
@@ -135,7 +143,11 @@ paths:
anyOf:
- type: string
- type: 'null'
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards
(e.g. `%customer_%`).\
+ \ Regular expressions are **not** supported."
title: Name Pattern
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards (e.g.
`%customer_%`).\
+ \ Regular expressions are **not** supported."
- name: order_by
in: query
required: false
@@ -1392,7 +1404,11 @@ paths:
anyOf:
- type: string
- type: 'null'
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards
(e.g. `%customer_%`).\
+ \ Regular expressions are **not** supported."
title: Connection Id Pattern
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards (e.g.
`%customer_%`).\
+ \ Regular expressions are **not** supported."
responses:
'200':
description: Successful Response
@@ -2651,7 +2667,11 @@ paths:
anyOf:
- type: string
- type: 'null'
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards
(e.g. `%customer_%`).\
+ \ Regular expressions are **not** supported."
title: Dag Id Pattern
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards (e.g.
`%customer_%`).\
+ \ Regular expressions are **not** supported."
- name: dag_display_name_pattern
in: query
required: false
@@ -2659,7 +2679,11 @@ paths:
anyOf:
- type: string
- type: 'null'
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards
(e.g. `%customer_%`).\
+ \ Regular expressions are **not** supported."
title: Dag Display Name Pattern
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards (e.g.
`%customer_%`).\
+ \ Regular expressions are **not** supported."
- name: exclude_stale
in: query
required: false
@@ -2828,7 +2852,11 @@ paths:
anyOf:
- type: string
- type: 'null'
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards
(e.g. `%customer_%`).\
+ \ Regular expressions are **not** supported."
title: Dag Id Pattern
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards (e.g.
`%customer_%`).\
+ \ Regular expressions are **not** supported."
- name: exclude_stale
in: query
required: false
@@ -3910,7 +3938,11 @@ paths:
anyOf:
- type: string
- type: 'null'
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards
(e.g. `%customer_%`).\
+ \ Regular expressions are **not** supported."
title: Pool Name Pattern
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards (e.g.
`%customer_%`).\
+ \ Regular expressions are **not** supported."
responses:
'200':
description: Successful Response
@@ -5434,7 +5466,11 @@ paths:
anyOf:
- type: string
- type: 'null'
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards
(e.g. `%customer_%`).\
+ \ Regular expressions are **not** supported."
title: Task Display Name Pattern
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards (e.g.
`%customer_%`).\
+ \ Regular expressions are **not** supported."
- name: state
in: query
required: false
@@ -6275,7 +6311,11 @@ paths:
anyOf:
- type: string
- type: 'null'
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards
(e.g. `%customer_%`).\
+ \ Regular expressions are **not** supported."
title: Variable Key Pattern
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards (e.g.
`%customer_%`).\
+ \ Regular expressions are **not** supported."
responses:
'200':
description: Successful Response
@@ -6657,7 +6697,11 @@ paths:
anyOf:
- type: string
- type: 'null'
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards
(e.g. `%customer_%`).\
+ \ Regular expressions are **not** supported."
title: Tag Name Pattern
+ description: "SQL LIKE expression \u2014 use `%` / `_` wildcards (e.g.
`%customer_%`).\
+ \ Regular expressions are **not** supported."
responses:
'200':
description: Successful Response
diff --git a/airflow-core/src/airflow/ui/openapi-gen/queries/ensureQueryData.ts
b/airflow-core/src/airflow/ui/openapi-gen/queries/ensureQueryData.ts
index 2dc8e47f61a..5ef4350e67b 100644
--- a/airflow-core/src/airflow/ui/openapi-gen/queries/ensureQueryData.ts
+++ b/airflow-core/src/airflow/ui/openapi-gen/queries/ensureQueryData.ts
@@ -43,8 +43,8 @@ import * as Common from "./common";
* @param data The data for the request.
* @param data.limit
* @param data.offset
- * @param data.namePattern
- * @param data.uriPattern
+ * @param data.namePattern SQL LIKE expression — use `%` / `_` wildcards (e.g.
`%customer_%`). Regular expressions are **not** supported.
+ * @param data.uriPattern SQL LIKE expression — use `%` / `_` wildcards (e.g.
`%customer_%`). Regular expressions are **not** supported.
* @param data.dagIds
* @param data.onlyActive
* @param data.orderBy
@@ -90,7 +90,7 @@ export const ensureUseAssetServiceGetAssetsData = (
* @param data The data for the request.
* @param data.limit
* @param data.offset
- * @param data.namePattern
+ * @param data.namePattern SQL LIKE expression — use `%` / `_` wildcards (e.g.
`%customer_%`). Regular expressions are **not** supported.
* @param data.orderBy
* @returns AssetAliasCollectionResponse Successful Response
* @throws ApiError
@@ -419,7 +419,7 @@ export const ensureUseConnectionServiceGetConnectionData = (
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.connectionIdPattern
+ * @param data.connectionIdPattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns ConnectionCollectionResponse Successful Response
* @throws ApiError
*/
@@ -764,8 +764,8 @@ export const ensureUseDagWarningServiceListDagWarningsData
= (
* @param data.tags
* @param data.tagsMatchMode
* @param data.owners
- * @param data.dagIdPattern
- * @param data.dagDisplayNamePattern
+ * @param data.dagIdPattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
+ * @param data.dagDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.excludeStale
* @param data.paused
* @param data.lastDagRunState
@@ -902,7 +902,7 @@ export const ensureUseDagServiceGetDagDetailsData = (
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.tagNamePattern
+ * @param data.tagNamePattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns DAGTagCollectionResponse Successful Response
* @throws ApiError
*/
@@ -1434,7 +1434,7 @@ export const
ensureUseTaskInstanceServiceGetMappedTaskInstanceData = (
* @param data.updatedAtLte
* @param data.durationGte
* @param data.durationLte
- * @param data.taskDisplayNamePattern
+ * @param data.taskDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.state
* @param data.pool
* @param data.queue
@@ -1921,7 +1921,7 @@ export const ensureUsePoolServiceGetPoolData = (
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.poolNamePattern
+ * @param data.poolNamePattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns PoolCollectionResponse Successful Response
* @throws ApiError
*/
@@ -2134,7 +2134,7 @@ export const ensureUseVariableServiceGetVariableData = (
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.variableKeyPattern
+ * @param data.variableKeyPattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns VariableCollectionResponse Successful Response
* @throws ApiError
*/
@@ -2318,8 +2318,8 @@ export const ensureUseAuthLinksServiceGetAuthMenusData =
(queryClient: QueryClie
* @param data.tagsMatchMode
* @param data.owners
* @param data.dagIds
- * @param data.dagIdPattern
- * @param data.dagDisplayNamePattern
+ * @param data.dagIdPattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
+ * @param data.dagDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.excludeStale
* @param data.paused
* @param data.lastDagRunState
diff --git a/airflow-core/src/airflow/ui/openapi-gen/queries/prefetch.ts
b/airflow-core/src/airflow/ui/openapi-gen/queries/prefetch.ts
index af47ea48bbe..588de763a15 100644
--- a/airflow-core/src/airflow/ui/openapi-gen/queries/prefetch.ts
+++ b/airflow-core/src/airflow/ui/openapi-gen/queries/prefetch.ts
@@ -43,8 +43,8 @@ import * as Common from "./common";
* @param data The data for the request.
* @param data.limit
* @param data.offset
- * @param data.namePattern
- * @param data.uriPattern
+ * @param data.namePattern SQL LIKE expression — use `%` / `_` wildcards (e.g.
`%customer_%`). Regular expressions are **not** supported.
+ * @param data.uriPattern SQL LIKE expression — use `%` / `_` wildcards (e.g.
`%customer_%`). Regular expressions are **not** supported.
* @param data.dagIds
* @param data.onlyActive
* @param data.orderBy
@@ -90,7 +90,7 @@ export const prefetchUseAssetServiceGetAssets = (
* @param data The data for the request.
* @param data.limit
* @param data.offset
- * @param data.namePattern
+ * @param data.namePattern SQL LIKE expression — use `%` / `_` wildcards (e.g.
`%customer_%`). Regular expressions are **not** supported.
* @param data.orderBy
* @returns AssetAliasCollectionResponse Successful Response
* @throws ApiError
@@ -419,7 +419,7 @@ export const prefetchUseConnectionServiceGetConnection = (
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.connectionIdPattern
+ * @param data.connectionIdPattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns ConnectionCollectionResponse Successful Response
* @throws ApiError
*/
@@ -764,8 +764,8 @@ export const prefetchUseDagWarningServiceListDagWarnings = (
* @param data.tags
* @param data.tagsMatchMode
* @param data.owners
- * @param data.dagIdPattern
- * @param data.dagDisplayNamePattern
+ * @param data.dagIdPattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
+ * @param data.dagDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.excludeStale
* @param data.paused
* @param data.lastDagRunState
@@ -902,7 +902,7 @@ export const prefetchUseDagServiceGetDagDetails = (
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.tagNamePattern
+ * @param data.tagNamePattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns DAGTagCollectionResponse Successful Response
* @throws ApiError
*/
@@ -1434,7 +1434,7 @@ export const
prefetchUseTaskInstanceServiceGetMappedTaskInstance = (
* @param data.updatedAtLte
* @param data.durationGte
* @param data.durationLte
- * @param data.taskDisplayNamePattern
+ * @param data.taskDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.state
* @param data.pool
* @param data.queue
@@ -1921,7 +1921,7 @@ export const prefetchUsePoolServiceGetPool = (
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.poolNamePattern
+ * @param data.poolNamePattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns PoolCollectionResponse Successful Response
* @throws ApiError
*/
@@ -2134,7 +2134,7 @@ export const prefetchUseVariableServiceGetVariable = (
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.variableKeyPattern
+ * @param data.variableKeyPattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns VariableCollectionResponse Successful Response
* @throws ApiError
*/
@@ -2318,8 +2318,8 @@ export const prefetchUseAuthLinksServiceGetAuthMenus =
(queryClient: QueryClient
* @param data.tagsMatchMode
* @param data.owners
* @param data.dagIds
- * @param data.dagIdPattern
- * @param data.dagDisplayNamePattern
+ * @param data.dagIdPattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
+ * @param data.dagDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.excludeStale
* @param data.paused
* @param data.lastDagRunState
diff --git a/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts
b/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts
index 5ef91fcd933..9fe536cd513 100644
--- a/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts
+++ b/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts
@@ -66,8 +66,8 @@ import * as Common from "./common";
* @param data The data for the request.
* @param data.limit
* @param data.offset
- * @param data.namePattern
- * @param data.uriPattern
+ * @param data.namePattern SQL LIKE expression — use `%` / `_` wildcards (e.g.
`%customer_%`). Regular expressions are **not** supported.
+ * @param data.uriPattern SQL LIKE expression — use `%` / `_` wildcards (e.g.
`%customer_%`). Regular expressions are **not** supported.
* @param data.dagIds
* @param data.onlyActive
* @param data.orderBy
@@ -122,7 +122,7 @@ export const useAssetServiceGetAssets = <
* @param data The data for the request.
* @param data.limit
* @param data.offset
- * @param data.namePattern
+ * @param data.namePattern SQL LIKE expression — use `%` / `_` wildcards (e.g.
`%customer_%`). Regular expressions are **not** supported.
* @param data.orderBy
* @returns AssetAliasCollectionResponse Successful Response
* @throws ApiError
@@ -529,7 +529,7 @@ export const useConnectionServiceGetConnection = <
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.connectionIdPattern
+ * @param data.connectionIdPattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns ConnectionCollectionResponse Successful Response
* @throws ApiError
*/
@@ -959,8 +959,8 @@ export const useDagWarningServiceListDagWarnings = <
* @param data.tags
* @param data.tagsMatchMode
* @param data.owners
- * @param data.dagIdPattern
- * @param data.dagDisplayNamePattern
+ * @param data.dagIdPattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
+ * @param data.dagDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.excludeStale
* @param data.paused
* @param data.lastDagRunState
@@ -1118,7 +1118,7 @@ export const useDagServiceGetDagDetails = <
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.tagNamePattern
+ * @param data.tagNamePattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns DAGTagCollectionResponse Successful Response
* @throws ApiError
*/
@@ -1738,7 +1738,7 @@ export const useTaskInstanceServiceGetMappedTaskInstance
= <
* @param data.updatedAtLte
* @param data.durationGte
* @param data.durationLte
- * @param data.taskDisplayNamePattern
+ * @param data.taskDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.state
* @param data.pool
* @param data.queue
@@ -2291,7 +2291,7 @@ export const usePoolServiceGetPool = <
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.poolNamePattern
+ * @param data.poolNamePattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns PoolCollectionResponse Successful Response
* @throws ApiError
*/
@@ -2545,7 +2545,7 @@ export const useVariableServiceGetVariable = <
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.variableKeyPattern
+ * @param data.variableKeyPattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns VariableCollectionResponse Successful Response
* @throws ApiError
*/
@@ -2781,8 +2781,8 @@ export const useAuthLinksServiceGetAuthMenus = <
* @param data.tagsMatchMode
* @param data.owners
* @param data.dagIds
- * @param data.dagIdPattern
- * @param data.dagDisplayNamePattern
+ * @param data.dagIdPattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
+ * @param data.dagDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.excludeStale
* @param data.paused
* @param data.lastDagRunState
@@ -3933,7 +3933,7 @@ export const useDagRunServicePatchDagRun = <
* @param data.tags
* @param data.tagsMatchMode
* @param data.owners
- * @param data.dagIdPattern
+ * @param data.dagIdPattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.excludeStale
* @param data.paused
* @param data.lastDagRunState
diff --git a/airflow-core/src/airflow/ui/openapi-gen/queries/suspense.ts
b/airflow-core/src/airflow/ui/openapi-gen/queries/suspense.ts
index 20faab203c5..bb62d3ba359 100644
--- a/airflow-core/src/airflow/ui/openapi-gen/queries/suspense.ts
+++ b/airflow-core/src/airflow/ui/openapi-gen/queries/suspense.ts
@@ -43,8 +43,8 @@ import * as Common from "./common";
* @param data The data for the request.
* @param data.limit
* @param data.offset
- * @param data.namePattern
- * @param data.uriPattern
+ * @param data.namePattern SQL LIKE expression — use `%` / `_` wildcards (e.g.
`%customer_%`). Regular expressions are **not** supported.
+ * @param data.uriPattern SQL LIKE expression — use `%` / `_` wildcards (e.g.
`%customer_%`). Regular expressions are **not** supported.
* @param data.dagIds
* @param data.onlyActive
* @param data.orderBy
@@ -99,7 +99,7 @@ export const useAssetServiceGetAssetsSuspense = <
* @param data The data for the request.
* @param data.limit
* @param data.offset
- * @param data.namePattern
+ * @param data.namePattern SQL LIKE expression — use `%` / `_` wildcards (e.g.
`%customer_%`). Regular expressions are **not** supported.
* @param data.orderBy
* @returns AssetAliasCollectionResponse Successful Response
* @throws ApiError
@@ -506,7 +506,7 @@ export const useConnectionServiceGetConnectionSuspense = <
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.connectionIdPattern
+ * @param data.connectionIdPattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns ConnectionCollectionResponse Successful Response
* @throws ApiError
*/
@@ -936,8 +936,8 @@ export const useDagWarningServiceListDagWarningsSuspense = <
* @param data.tags
* @param data.tagsMatchMode
* @param data.owners
- * @param data.dagIdPattern
- * @param data.dagDisplayNamePattern
+ * @param data.dagIdPattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
+ * @param data.dagDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.excludeStale
* @param data.paused
* @param data.lastDagRunState
@@ -1095,7 +1095,7 @@ export const useDagServiceGetDagDetailsSuspense = <
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.tagNamePattern
+ * @param data.tagNamePattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns DAGTagCollectionResponse Successful Response
* @throws ApiError
*/
@@ -1715,7 +1715,7 @@ export const
useTaskInstanceServiceGetMappedTaskInstanceSuspense = <
* @param data.updatedAtLte
* @param data.durationGte
* @param data.durationLte
- * @param data.taskDisplayNamePattern
+ * @param data.taskDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.state
* @param data.pool
* @param data.queue
@@ -2268,7 +2268,7 @@ export const usePoolServiceGetPoolSuspense = <
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.poolNamePattern
+ * @param data.poolNamePattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns PoolCollectionResponse Successful Response
* @throws ApiError
*/
@@ -2522,7 +2522,7 @@ export const useVariableServiceGetVariableSuspense = <
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.variableKeyPattern
+ * @param data.variableKeyPattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns VariableCollectionResponse Successful Response
* @throws ApiError
*/
@@ -2758,8 +2758,8 @@ export const useAuthLinksServiceGetAuthMenusSuspense = <
* @param data.tagsMatchMode
* @param data.owners
* @param data.dagIds
- * @param data.dagIdPattern
- * @param data.dagDisplayNamePattern
+ * @param data.dagIdPattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
+ * @param data.dagDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.excludeStale
* @param data.paused
* @param data.lastDagRunState
diff --git a/airflow-core/src/airflow/ui/openapi-gen/requests/services.gen.ts
b/airflow-core/src/airflow/ui/openapi-gen/requests/services.gen.ts
index 479c8b6c36d..59e0b9e193d 100644
--- a/airflow-core/src/airflow/ui/openapi-gen/requests/services.gen.ts
+++ b/airflow-core/src/airflow/ui/openapi-gen/requests/services.gen.ts
@@ -230,8 +230,8 @@ export class AssetService {
* @param data The data for the request.
* @param data.limit
* @param data.offset
- * @param data.namePattern
- * @param data.uriPattern
+ * @param data.namePattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
+ * @param data.uriPattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.dagIds
* @param data.onlyActive
* @param data.orderBy
@@ -266,7 +266,7 @@ export class AssetService {
* @param data The data for the request.
* @param data.limit
* @param data.offset
- * @param data.namePattern
+ * @param data.namePattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.orderBy
* @returns AssetAliasCollectionResponse Successful Response
* @throws ApiError
@@ -924,7 +924,7 @@ export class ConnectionService {
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.connectionIdPattern
+ * @param data.connectionIdPattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns ConnectionCollectionResponse Successful Response
* @throws ApiError
*/
@@ -1517,8 +1517,8 @@ export class DagService {
* @param data.tags
* @param data.tagsMatchMode
* @param data.owners
- * @param data.dagIdPattern
- * @param data.dagDisplayNamePattern
+ * @param data.dagIdPattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
+ * @param data.dagDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.excludeStale
* @param data.paused
* @param data.lastDagRunState
@@ -1572,7 +1572,7 @@ export class DagService {
* @param data.tags
* @param data.tagsMatchMode
* @param data.owners
- * @param data.dagIdPattern
+ * @param data.dagIdPattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.excludeStale
* @param data.paused
* @param data.lastDagRunState
@@ -1721,7 +1721,7 @@ export class DagService {
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.tagNamePattern
+ * @param data.tagNamePattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns DAGTagCollectionResponse Successful Response
* @throws ApiError
*/
@@ -2284,7 +2284,7 @@ export class TaskInstanceService {
* @param data.updatedAtLte
* @param data.durationGte
* @param data.durationLte
- * @param data.taskDisplayNamePattern
+ * @param data.taskDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.state
* @param data.pool
* @param data.queue
@@ -2856,7 +2856,7 @@ export class PoolService {
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.poolNamePattern
+ * @param data.poolNamePattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns PoolCollectionResponse Successful Response
* @throws ApiError
*/
@@ -3246,7 +3246,7 @@ export class VariableService {
* @param data.limit
* @param data.offset
* @param data.orderBy
- * @param data.variableKeyPattern
+ * @param data.variableKeyPattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @returns VariableCollectionResponse Successful Response
* @throws ApiError
*/
@@ -3509,8 +3509,8 @@ export class DagsService {
* @param data.tagsMatchMode
* @param data.owners
* @param data.dagIds
- * @param data.dagIdPattern
- * @param data.dagDisplayNamePattern
+ * @param data.dagIdPattern SQL LIKE expression — use `%` / `_` wildcards
(e.g. `%customer_%`). Regular expressions are **not** supported.
+ * @param data.dagDisplayNamePattern SQL LIKE expression — use `%` / `_`
wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
* @param data.excludeStale
* @param data.paused
* @param data.lastDagRunState
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 5b8594e2457..54e2ec7b7d0 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
@@ -1793,10 +1793,16 @@ export type category = "info" | "warning" | "error";
export type GetAssetsData = {
dagIds?: Array<string>;
limit?: number;
+ /**
+ * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`).
Regular expressions are **not** supported.
+ */
namePattern?: string | null;
offset?: number;
onlyActive?: boolean;
orderBy?: string;
+ /**
+ * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`).
Regular expressions are **not** supported.
+ */
uriPattern?: string | null;
};
@@ -1804,6 +1810,9 @@ export type GetAssetsResponse = AssetCollectionResponse;
export type GetAssetAliasesData = {
limit?: number;
+ /**
+ * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`).
Regular expressions are **not** supported.
+ */
namePattern?: string | null;
offset?: number;
orderBy?: string;
@@ -1978,6 +1987,9 @@ export type PatchConnectionData = {
export type PatchConnectionResponse = ConnectionResponse;
export type GetConnectionsData = {
+ /**
+ * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`).
Regular expressions are **not** supported.
+ */
connectionIdPattern?: string | null;
limit?: number;
offset?: number;
@@ -2129,7 +2141,13 @@ export type ListDagWarningsData = {
export type ListDagWarningsResponse = DAGWarningCollectionResponse;
export type GetDagsData = {
+ /**
+ * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`).
Regular expressions are **not** supported.
+ */
dagDisplayNamePattern?: string | null;
+ /**
+ * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`).
Regular expressions are **not** supported.
+ */
dagIdPattern?: string | null;
dagRunEndDateGte?: string | null;
dagRunEndDateLte?: string | null;
@@ -2150,6 +2168,9 @@ export type GetDagsData = {
export type GetDagsResponse = DAGCollectionResponse;
export type PatchDagsData = {
+ /**
+ * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`).
Regular expressions are **not** supported.
+ */
dagIdPattern?: string | null;
excludeStale?: boolean;
lastDagRunState?: DagRunState | null;
@@ -2195,6 +2216,9 @@ export type GetDagTagsData = {
limit?: number;
offset?: number;
orderBy?: string;
+ /**
+ * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`).
Regular expressions are **not** supported.
+ */
tagNamePattern?: string | null;
};
@@ -2366,6 +2390,9 @@ export type GetTaskInstancesData = {
startDateGte?: string | null;
startDateLte?: string | null;
state?: Array<string>;
+ /**
+ * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`).
Regular expressions are **not** supported.
+ */
taskDisplayNamePattern?: string | null;
taskId?: string | null;
updatedAtGte?: string | null;
@@ -2519,6 +2546,9 @@ export type GetPoolsData = {
limit?: number;
offset?: number;
orderBy?: string;
+ /**
+ * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`).
Regular expressions are **not** supported.
+ */
poolNamePattern?: string | null;
};
@@ -2624,6 +2654,9 @@ export type GetVariablesData = {
limit?: number;
offset?: number;
orderBy?: string;
+ /**
+ * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`).
Regular expressions are **not** supported.
+ */
variableKeyPattern?: string | null;
};
@@ -2685,7 +2718,13 @@ export type LogoutResponse = unknown;
export type GetAuthMenusResponse = MenuItemCollectionResponse;
export type RecentDagRunsData = {
+ /**
+ * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`).
Regular expressions are **not** supported.
+ */
dagDisplayNamePattern?: string | null;
+ /**
+ * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`).
Regular expressions are **not** supported.
+ */
dagIdPattern?: string | null;
dagIds?: Array<string> | null;
dagRunsLimit?: number;