When you generate a client SDK using cdd-python from_openapi to_sdk, the generated directory will contain a pyproject.toml and GitHub Actions workflow.
To automate SDK updates:
- Schedule a GitHub Action to fetch the latest OpenAPI spec (e.g., via cron).
- Run
cdd-python from_openapi to_sdkon the fetched spec. - Compare
client.pyusinggit status. If changed, commit and bump the version inpyproject.toml. - Run
python3 -m buildand upload to PyPI or your internal package registry.