Skip to content

Prepare Python 0.3 with generated sync and async clients - #2

Merged
zealous1 merged 12 commits into
masterfrom
release/explicit-transcript-preparation
Oct 2, 2026
Merged

zealous1 merged 12 commits into
masterfrom
release/explicit-transcript-preparation

Conversation

@zealous1

@zealous1 zealous1 commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

The previous Python package contains URL constants only. Version 0.3.0 adds usable synchronous and asynchronous Arcmira clients, typed ready/pending transcripts, quote and preparation methods, preserved error bodies, and opaque-cursor pagination. Existing URL constants remain available.

Generation uses the committed public OpenAPI, Fern CLI 5.131.1, and Python generator 5.31.0. The checked overlay retains established method and component names and SDK endpoint exclusions, combines success variants, and rejects ambiguous cursor collections. The README includes authentication, preparation, pagination, and migration examples.

Validation: seven tests pass, covering local HTTP requests from both clients, ready/pending responses, quote/refusal bodies, required keys, exact replay and conflict, request/episode pagination, and overlay validation. Wheel and source distribution builds pass. A clean environment installed the built wheel and ran the same model-authored async pagination script successfully, returning both request IDs. Independent review passed the final compatibility changes.

All new commits have verified zealous1 authorship and SSH signatures. Public contract SHA256: 84395daa632711930041d8a17e138b5bd5b8cc22658a3f4ea8e165bf17f10b2e.

Release hold: keep this PR in draft. Do not merge, tag, or publish until the backend is ready and the coordinated release is authorized.

The transcription purchase is one Job. A Premium read can answer
preparation_required, the purchase key and max_rows are optional at zero
dollars, and the request body no longer sends the deprecated videoId alias.
Reads Premium, posts the purchase once when preparation is required, polls
the job at the pace the API asks for and returns the transcript. The code
lives in scripts/overrides and the installer wires it into the generated
clients, so regeneration keeps it. The README leads with it.
Purchase refusals now parse as the shared Error with quote, so the
refusal test reads the 402 quota_exceeded body POST answers.
@zealous1
zealous1 marked this pull request as ready for review October 2, 2026 08:57
@zealous1
zealous1 merged commit 306f490 into master Oct 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant