Skip to content

v0.3.1

Latest

Choose a tag to compare

@super-jaba super-jaba released this 23 Feb 00:51

Full Changelog: v0.2.0...v0.3.1

v0.3.1

Named Sandboxes (Get-or-Create)

Both the sync and async clients now accept an optional name parameter in create_sandbox(). When a name is provided, the API uses get-or-create semantics — if a running or pending sandbox with the same name already exists, it is returned directly instead of creating a new one.

sandbox = client.create_sandbox(SandboxType.POSTGRES, name="my-db")

Improved Sandbox Provisioning

  • create_sandbox() now returns immediately if the sandbox is already in a non-pending state, skipping unnecessary polling.
  • Sandboxes that fail to provision now raise Dev2CloudApiError immediately instead of timing out.

Documentation & Tests

  • Added comprehensive README with installation, quick-start examples, and async usage.
  • Added test suites for both sync and async clients.