Skip to content

Commit bc31c1e

Browse files
fern-supportclaude
andcommitted
feat: Add OciClientV2 only, drop V1 OCI client
Remove OciClient (V1) and all V1-specific code paths, keeping only OciClientV2. Also add oci_client.py to .fernignore alongside other manually-maintained client files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b78c63e commit bc31c1e

File tree

3 files changed

+194
-415
lines changed

3 files changed

+194
-415
lines changed

.fernignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ src/cohere/manually_maintained/__init__.py
1515
src/cohere/bedrock_client.py
1616
src/cohere/aws_client.py
1717
src/cohere/sagemaker_client.py
18+
src/cohere/oci_client.py
1819
src/cohere/client_v2.py
1920
mypy.ini
2021
src/cohere/aliases.py

src/cohere/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,6 @@
518518
"NotFoundError": ".errors",
519519
"NotImplementedError": ".errors",
520520
"OAuthAuthorizeResponse": ".types",
521-
"OciClient": ".oci_client",
522521
"OciClientV2": ".oci_client",
523522
"ParseInfo": ".types",
524523
"RerankDocument": ".types",
@@ -853,7 +852,6 @@ def __dir__():
853852
"NotFoundError",
854853
"NotImplementedError",
855854
"OAuthAuthorizeResponse",
856-
"OciClient",
857855
"OciClientV2",
858856
"ParseInfo",
859857
"RerankDocument",

0 commit comments

Comments
 (0)