Skip to main content

Python SDK v0.3.0

Released: 2026-05-28

Features

Typed experiment builders for programmatic authoring. New top-level exports: , , , , , , , , , , . Snake_case Python fields are converted to the camelCase wire format automatically; unknown top-level fields are preserved via so the SDK doesn't block on backend schema additions.

Component factory helpers cover 9 of the most-used types: , , , , , , , , . Extra kwargs pass through to the component for any backend-supported field; factory-set keys win on collision.

and now accept an keyword argument alongside the existing form. Snake_case kwargs are translated through before merging, so kwarg overrides correctly replace the aliased fields of the builder.

New method — dry-run against .

A schema-drift guard test (vendored ) asserts symmetric agreement between the SDK enums and the schema, and confirms schema-required fields are required on the model. A separate round-trip test guarantees real backend response shapes (with server-populated extras like , , ) survive → .

Documentation

The new Experiment Authoring guide walks through the builder API end-to-end. The Python guide gets a callout pointing to it.

Backwards compatibility

  • continues to work unchanged.
  • continues to work unchanged.

Dependencies

  • Adds .