exoscale / python-exoscale

Python bindings for the Exoscale APIs
https://exoscale.github.io/python-exoscale/
ISC License
14 stars 7 forks source link

Client: introduce a low-level client for the v2 API #44

Closed brutasse closed 1 year ago

brutasse commented 1 year ago

This client is dynamically generated from the OpenAPI definition. It expands each API call into a method on the client class.

A scheduled action is added to poll the OpenAPI definition for updating the in-repo copy.

Fixes #43 Fixes #42

brutasse commented 1 year ago

To hint at what this results in:

ksnip_20230511-100411

brutasse commented 1 year ago

(does the auto-generated doc include a small usage example ?)

Nothing beyond what can be extracted from the OpenAPI specification yet. Ideally this would happen by further enriching the spec and the parsing of it.