Problem
The generated OpenAPI client already supports the optional numNodes field for database creation, but SAPIPY's handwritten helper layer did not expose it. As a result, users of OpenApiAccess could not request databases with fewer than 4 nodes through the convenience API.
Expected behavior
The handwritten helpers should allow callers to pass a database node count through to the SaaS API.
Scope
- add optional
num_nodes support to OpenApiAccess.create_database()
- forward
num_nodes through OpenApiAccess.database()
- cover the forwarding path with unit tests
- add an integration test for creating a 2-node database and verifying the reported settings
Implementation
Implemented in #167.
Validation completed:
poetry run pytest test/unit/test_api_access.py in Lima VM default
- live integration execution still requires SaaS credentials and provisions a real database
Problem
The generated OpenAPI client already supports the optional
numNodesfield for database creation, but SAPIPY's handwritten helper layer did not expose it. As a result, users ofOpenApiAccesscould not request databases with fewer than 4 nodes through the convenience API.Expected behavior
The handwritten helpers should allow callers to pass a database node count through to the SaaS API.
Scope
num_nodessupport toOpenApiAccess.create_database()num_nodesthroughOpenApiAccess.database()Implementation
Implemented in #167.
Validation completed:
poetry run pytest test/unit/test_api_access.pyin Lima VMdefault