Repository navigation
SDK regeneration - #254
Open
fern-api[bot] wants to merge 5 commits into
Open
SDK regeneration#254fern-api[bot] wants to merge 5 commits into
fern-api[bot] wants to merge 5 commits into
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 5.31.1
🌿 Generated with Fern
Patches applied (1): - patch-6516695e: Release 15.0.2: restore bundled openapi.json packaging (#169)
🌿 Generated with Fern
…2a03a87058b280fa [skip ci]
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2ca85e2. Configure here.
|
|
||
| headers: typing.Dict[str, str] = { | ||
| "User-Agent": "phenoml/17.0.0", | ||
| "User-Agent": "phenoml/0.0.0-fern-placeholder", |
There was a problem hiding this comment.
User-Agent uses generator placeholder
Medium Severity
Every request now sends User-Agent: phenoml/0.0.0-fern-placeholder while X-Fern-SDK-Version is correctly set to 17.0.1. The previous release sent phenoml/17.0.0, so the generator left a placeholder instead of substituting the package version.
Reviewed by Cursor Bugbot for commit 2ca85e2. Configure here.
This branch has not been deployed
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.


17.0.0 → 17.0.1
🌿 Generated with Fern
✅ Customizations automatically preserved in this update.
Note
Medium Risk
FHIR2OMOP response shapes and Lang2FHIR request fields changed alongside removed SDK error types, which can break callers that depended on prior models or exception handling.
Overview
Regenerates the Python SDK to 17.0.1 from an updated API spec (Fern CLI/generator bump), with packaging pinned to 17.0.1 and changelog/docs/examples aligned.
FHIR→OMOP (
client.fhir2omop.create) gains optionalvocab_versionand a much broader contract: more row-producing resources (location/org/practitioner roles, derivedobservation_period, etc.), richermappings/diagnostics/provider_role_contexts, and expanded Pydantic row types.ServiceUnavailableErroris no longer exported for this module.Lang2FHIR adds
primary_patient(withpatient_referencedeprecated), widens supportedresourceenum values, and documents RTF/XML/C-CDA and size limits; batch upload docs reflect the same fields.Implementation guides add
create_versionandget_version; delete semantics/docs now describe removing canonical package versions.Client/runtime fixes: bearer
tokenmay be a string or callable;instance_urlrespects environment URL templates; OAuth refresh sendsgrant_type=client_credentials; HTTP layer handles optional bodyless requests, TCP keepalive, and skips empty SSE frames; agent chat streaming example corrected;quote_path_paramfor safe path encoding. Construe dropsBadGatewayErrorand adjusts phenocr error mapping (502/503 → generic handling).Reviewed by Cursor Bugbot for commit 2ca85e2. Bugbot is set up for automated code reviews on this repo. Configure here.