Files
airflow/clients
Jarek PotiukandClaude Opus 4.6 94e189618a Fix all build-system/requires including transitive dependencies (#62570)
* Fix all build-system/requires including transitive dependencies

Add a feature to fix all build-system/requires to make build
reproducibility works. The build-system requires are managed
automatically by the `upgrade-important-versions` prek hook.

This should not only provide reproducibility, but also it should
prevent cases where transient dependency upgrade might break
building sdist (for example as it happened with virtualenv 21
breaking hatchling with https://github.com/pypa/hatch/issues/2193

* Fix mypy 'Cannot infer type of lambda' error in upgrade script

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 21:05:52 +01:00
..

Airflow OpenAPI clients

This directory contains definition of Airflow OpenAPI client packages.

Supported languages:

  • Python generated through ./gen/python.sh.

Generating client code

To generate the client code using dockerized breeze environment, run (at the Airflow source root directory):

breeze release-management prepare-python-client --distribution-format both

The client source code generation uses OpenAPI generator image, generation of packages is done using Hatch. By default, packages are generated in a dockerized Hatch environment, but you can also use a local one by setting --use-local-hatch flag.

breeze release-management prepare-python-client --distribution-format both --use-local-hatch

Browsing the generated source code

The generated source code is not committed to Airflow repository, but when releasing the package, Airflow team also stores generated client code in the Airflow Client Python repository.