Skip to content

Python SDK Reference

Generated statically from the package’s literal warmhub.__all__ with Griffe. The generator never imports the SDK.

This build documents 266 root exports and 26 client namespace projections.

  • AccessTokenProvider — A static token, or a sync/async callable returning one.
  • ActionLeaseOp — Action lease acquisition or release operation.
  • ActionRunStatusaction.listRuns’s run-status vocabulary, named once rather than spelled out in all four places (both Protocols and both iterators) where a divergence would be a Literal that silently accepts less than the generated method.
  • CheckpointArtifact — Checkpoint artifact selected for a short-lived download descriptor.
  • CollectionMutationCompatibilityResult — Compatibility response returned by collection mutation endpoints.
  • CollectionRole — Which end of a resolved collection assertion the target must occupy.
  • CommitOperationKind — Stored entity kind targeted by a commit operation.
  • DataMode — How much of each record’s data the server should return.
  • ErrorDetails — Structured corrective detail attached to a WarmHubError.
  • ExtraBody — Per-call body keys the SDK does not model. Unmodelled by design; see above.
  • ExtraHeaders — Per-call headers. Merged over the client’s defaults, but never over auth: assemble_headers re-stamps the resolved bearer afterwards, so a caller cannot substitute a different authorization for one call.
  • ExtraQuery — Per-call query parameters, merged into the URL’s existing query rather than replacing it. See merge_extra_query for why that distinction is load-bearing.
  • HistoryVersion — JSON payload stored for one history version.
  • JsonMapping — A JSON object. What a mapping-based decoder is handed, and the type an undecoded data must be narrowed to before it can be indexed.
  • JsonValue — Anything a JSON document can hold, defined recursively.
  • NameMatch — Deterministic literal name matching, or ranked search.
  • NullableT | None — a required nullable field. The key is always sent.
  • NullableOmittableT | None | Unset — a nullable optional field, all three states live.
  • OmittableT | Unset — an optional field. Absent means the key is not sent.
  • Operation — The public write contract. Discriminated on the operation attribute.
  • OperationInput — Public operation objects or equivalent JSON mappings accepted by validation.
  • PayloadDecoder — What decoder accepts. Named so signatures stay readable.
  • ReceiptSchemaVersion — Both receipt versions the backend still emits. v2 is stamped on every live append; v1 survives for replay of events persisted before it (see packages/backend/src/operation-events/reconstruction.ts). A version outside this set is still refused: an unreadable outcome is an unknown one.
  • RepoExploreSortrepo.explore’s sort vocabulary, named once. Spelled out in three places otherwise (both Protocols and both iterators), where a divergence would be a Literal that silently accepts less than the generated method does.
  • RepoListSortrepo.list / repo.listPage’s shared sort vocabulary.
  • RepositoryCheckpointStatus — Every terminal and in-progress repository checkpoint status.
  • RepositoryCheckpointVerificationErrorReason — Stable failure categories produced by offline checkpoint verification.
  • RepositoryExportErrorReason — Stable failure categories produced by export reading and verification.
  • RepositoryExportModeheads exports current versions; ops exports the operation history.
  • RepositoryExportRow — One validated export row.
  • SearchModetext is BM25, vector is semantic, hybrid combines them.
  • ShapeChangeCompatibilityResult — Compatibility response returned by shape-change endpoints.
  • ShapeFields — A shape’s data.fields — the declaration side of shape validation.
  • StreamAppendResult — Successful or rejected low-level stream append result.
  • ThingKind — The four record kinds a filter may name.
  • Unset — Annotate optional parameters as int | Unset, defaulting to UNSET.
  • WhereOp — Comparison operators accepted by a where predicate.
  • WhereScalar — Routeable scalar RHS. Mirrors WhereScalarRhs in the TypeScript SDK.