Skip to content

Commit 4e302b3

Browse files
chore: fix module client (openai#2188)
1 parent a6371ba commit 4e302b3

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/openai/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ def _reset_client() -> None: # type: ignore[reportUnusedFunction]
252252
chat as chat,
253253
audio as audio,
254254
files as files,
255-
client as client,
256255
images as images,
257256
models as models,
258257
batches as batches,

src/openai/_module_client.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ def __load__(self) -> resources.Models:
4242
return _load_client().models
4343

4444

45-
class ClientProxy(LazyProxy[resources.OpenAI]):
46-
@override
47-
def __load__(self) -> resources.OpenAI:
48-
return _load_client().client
49-
50-
5145
class BatchesProxy(LazyProxy[resources.Batches]):
5246
@override
5347
def __load__(self) -> resources.Batches:
@@ -102,7 +96,6 @@ def __load__(self) -> resources.VectorStores:
10296
audio: resources.Audio = AudioProxy().__as_proxied__()
10397
images: resources.Images = ImagesProxy().__as_proxied__()
10498
models: resources.Models = ModelsProxy().__as_proxied__()
105-
client: resources.OpenAI = ClientProxy().__as_proxied__()
10699
batches: resources.Batches = BatchesProxy().__as_proxied__()
107100
uploads: resources.Uploads = UploadsProxy().__as_proxied__()
108101
responses: resources.Responses = ResponsesProxy().__as_proxied__()

0 commit comments

Comments
 (0)