Skip to content

eda-labs/pydantic-eda

Repository files navigation

Pydantic EDA

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.

Usage

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

About

Pydantic models for EDA OpenAPI spec

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages