feat(python): add OciClient to additional_init_exports#712
Merged
daniel-cohere merged 1 commit intocohere-ai:mainfrom Apr 9, 2026
Merged
feat(python): add OciClient to additional_init_exports#712daniel-cohere merged 1 commit intocohere-ai:mainfrom
daniel-cohere merged 1 commit intocohere-ai:mainfrom
Conversation
Add OCI client exports so they survive Fern regeneration of __init__.py. Follows the same pattern as BedrockClient/SagemakerClient. Related: cohere-ai/cohere-python#718
|
🌿 Preview your docs: https://cohere-preview-0f678610-894f-43fc-b675-6b544dbdcb02.docs.buildwithfern.com |
Contributor
Author
|
@mkozakov @fern-support Ready for review. This is the companion config change for cohere-ai/cohere-python#718 (OCI client). Without this, One-line change — same pattern as Tracking issue: cohere-ai/cohere-python#735 |
mkozakov
approved these changes
Apr 2, 2026
Contributor
Author
|
@fern-support is this something you can merge? |
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.
Summary
Add
OciClientandOciClientV2to the Python SDK'sadditional_init_exportsinfern/apis/sdks/generators.yml, so they survive Fern regeneration of__init__.py.This is a one-line config change that follows the exact same pattern as
BedrockClient,SagemakerClient, andAwsClient.Why
oci_client.pyis a manually maintained file (listed in.fernignorein cohere-python). But__init__.pyis auto-generated by Fern — without this config entry, theOciClient/OciClientV2exports get wiped on every regeneration, breakingimport cohere; cohere.OciClientV2(...).Related
Change