WIP!
Pydantic models for EDA OpenAPI spec. Models are generated for the EDA Core API as well as for the apps shipped with EDA Playground at the time of the generation.
Store Github auth token in a GH_AUTH_TOKEN
environment variable. For example, with gh
cli:
export GH_AUTH_TOKEN=$(gh auth token)
Install dev dependencies:
uv add --dev 'datamodel-code-generator[http]' rich ruff httpx
Generate models for a specific version of openapi repo:
python gen_models.py --version v24.12.1