Repository navigation
Conversation
src/arcmira/ is generated from the Arcmira OpenAPI document by Fern (fern-python-sdk 5.31.0): sync and async clients on httpx with pydantic models, auto-paging lists and one exception per status carrying the parsed API body, py.typed. Tests run against a local fake of /v1 whose bodies derive from the spec. Apache-2.0. The pointer package this name held until 0.1.1 is gone.
Part 2 of 5 of the same change; see the first commit on this branch.
Part 3 of 5 of the same change; see the first commit on this branch.
Part 4 of 5 of the same change; see the first commit on this branch.
Part 5 of 5 of the same change; see the first commit on this branch.
The API now declares Idempotency-Key on its 12 write operations, the error code list and the response headers, and GET /v1/me returns key_id, key_label, credential_kind, email_masked and period_resets_at. Regenerated with scripts/sdk/regenerate.mjs from api.arcmira.com/v1/openapi.json; the test fixtures come from the same document. pytest 8 pass, mypy clean.
…scriptions resource
The transcript request operations move onto client.transcripts: request
(POST /v1/transcriptions), status (GET /v1/transcriptions/{id}) and
list_requests (GET /v1/transcriptions). The types are TranscriptRequest,
TranscriptRequestSubmitResponse and TranscriptRequestListResponse. README
shows an order and a poll; the fake answers the POST and a test pins the
surface.
Member
Author
|
Superseded by #2 (0.3), which shipped the generated SDK. The current release is 0.5.1. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
This branch turns the
arcmiraPyPI name from a pointer package into the SDK.src/arcmira/: generated from the Arcmira OpenAPI document by Fern (fern-python-sdk 5.31.0).ArcmiraandAsyncArcmiraclients onhttpxwithpydanticmodels,py.typed, auto-paging lists, and one exception per status carrying the parsed API body.api_keyfrom the option orARCMIRA_API_KEY. User-Agentarcmira/0.2.0. Python 3.9+.pyproject.toml: hatchling, static version 0.2.0, runtime dependencies as the generator requires (httpx,pydantic,pydantic-core,typing_extensions), dev grouppytestandmypy.publish.ymlnow runs the tests beforeuv buildand reads the version frompyproject.toml.tests/: against a local fake of/v1(tests/fake_v1.py; bodies intests/fixtures/v1.json, derived from the spec).llms.txt,reference.md, Apache-2.0 LICENSE.Verification
pytest: 8 passing: bearer key and SDK user agent,ARCMIRA_API_KEYfallback (in a fresh interpreter, since the default is read at import), search, a paged list walkingnext_cursor, a JSON write, a typed 402 gate withunlock.url, a typed 404, the entity page list envelope.mypy src/arcmira: no issues in 590 files.me.getandchannels.videos.listanswered with a real key;transcripts.searchanswered 503search_unavailableat the time and surfaced as a typedApiError.Do not merge or tag before the release is approved; the
v*tag runspublish.yml, which replaces the pointer package on PyPI and cannot be taken back.