pierrejeambrun opened a new pull request, #72795: URL: https://github.com/apache/airflow/pull/72795
`airflow-core/src/airflow/api_fastapi/common/parameters.py` had grown to ~2000 lines, mixing the generic query-parameter machinery with hundreds of domain-specific `Query*` aliases. This splits it into a `parameters/` package with focused submodules and re-exports every name from `__init__.py`, so no consumer import paths change. Layout: - **Machinery** — `base` (`BaseParam`, limit/offset, `_MySQLCollate`), `search` (pattern/prefix/regex params + factories), `filter` (`FilterParam`, factory, JSON-KV), `sort` (`SortParam`), `range` (datetime/float/int range filters + safe-datetime validators). - **Per-domain aliases** — `dag`, `dag_run`, `task_instance`, `xcom`, `asset`, `misc` (variables, pools, connections, HITL, import errors, UI-shared). This is a pure reorganization: all 155 top-level definitions are moved verbatim (no behavior change). The only non-package edit is a test whose `mock.patch` target follows `apply_regex_query_timeout` into the `search` submodule. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 4.8) Generated-by: Claude Code (Opus 4.8) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
