Skip to content

Commit d85c50c

Browse files
committed
style: Fix ruff linting issues in OCI client
- Remove unused imports (base64, hashlib, io, construct_type) - Sort imports according to ruff standards
1 parent dfaf78e commit d85c50c

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/cohere/oci_client.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
"""Oracle Cloud Infrastructure (OCI) client for Cohere API."""
22

3-
import base64
43
import email.utils
5-
import hashlib
6-
import io
74
import json
85
import typing
96
import uuid
107

118
import httpx
129
import requests
13-
from httpx import URL, ByteStream, SyncByteStream
14-
1510
from . import (
1611
EmbedResponse,
1712
GenerateStreamedResponse,
@@ -22,8 +17,8 @@
2217
)
2318
from .client import Client, ClientEnvironment
2419
from .client_v2 import ClientV2
25-
from .core import construct_type
2620
from .manually_maintained.lazy_oci_deps import lazy_oci
21+
from httpx import URL, ByteStream, SyncByteStream
2722

2823

2924
class OciClient(Client):

0 commit comments

Comments
 (0)