mirror of
https://github.com/apache/airflow.git
synced 2026-11-04 07:12:48 +00:00
* [main] CI: Upgrade important CI environment * Fix end of file in providers-deps
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.