|
46 | 46 | batches, |
47 | 47 | uploads, |
48 | 48 | responses, |
| 49 | + containers, |
49 | 50 | embeddings, |
50 | 51 | completions, |
51 | 52 | fine_tuning, |
|
65 | 66 | from .resources.moderations import Moderations, AsyncModerations |
66 | 67 | from .resources.uploads.uploads import Uploads, AsyncUploads |
67 | 68 | from .resources.responses.responses import Responses, AsyncResponses |
| 69 | + from .resources.containers.containers import Containers, AsyncContainers |
68 | 70 | from .resources.fine_tuning.fine_tuning import FineTuning, AsyncFineTuning |
69 | 71 | from .resources.vector_stores.vector_stores import VectorStores, AsyncVectorStores |
70 | 72 |
|
@@ -244,6 +246,12 @@ def evals(self) -> Evals: |
244 | 246 |
|
245 | 247 | return Evals(self) |
246 | 248 |
|
| 249 | + @cached_property |
| 250 | + def containers(self) -> Containers: |
| 251 | + from .resources.containers import Containers |
| 252 | + |
| 253 | + return Containers(self) |
| 254 | + |
247 | 255 | @cached_property |
248 | 256 | def with_raw_response(self) -> OpenAIWithRawResponse: |
249 | 257 | return OpenAIWithRawResponse(self) |
@@ -539,6 +547,12 @@ def evals(self) -> AsyncEvals: |
539 | 547 |
|
540 | 548 | return AsyncEvals(self) |
541 | 549 |
|
| 550 | + @cached_property |
| 551 | + def containers(self) -> AsyncContainers: |
| 552 | + from .resources.containers import AsyncContainers |
| 553 | + |
| 554 | + return AsyncContainers(self) |
| 555 | + |
542 | 556 | @cached_property |
543 | 557 | def with_raw_response(self) -> AsyncOpenAIWithRawResponse: |
544 | 558 | return AsyncOpenAIWithRawResponse(self) |
@@ -757,6 +771,12 @@ def evals(self) -> evals.EvalsWithRawResponse: |
757 | 771 |
|
758 | 772 | return EvalsWithRawResponse(self._client.evals) |
759 | 773 |
|
| 774 | + @cached_property |
| 775 | + def containers(self) -> containers.ContainersWithRawResponse: |
| 776 | + from .resources.containers import ContainersWithRawResponse |
| 777 | + |
| 778 | + return ContainersWithRawResponse(self._client.containers) |
| 779 | + |
760 | 780 |
|
761 | 781 | class AsyncOpenAIWithRawResponse: |
762 | 782 | _client: AsyncOpenAI |
@@ -854,6 +874,12 @@ def evals(self) -> evals.AsyncEvalsWithRawResponse: |
854 | 874 |
|
855 | 875 | return AsyncEvalsWithRawResponse(self._client.evals) |
856 | 876 |
|
| 877 | + @cached_property |
| 878 | + def containers(self) -> containers.AsyncContainersWithRawResponse: |
| 879 | + from .resources.containers import AsyncContainersWithRawResponse |
| 880 | + |
| 881 | + return AsyncContainersWithRawResponse(self._client.containers) |
| 882 | + |
857 | 883 |
|
858 | 884 | class OpenAIWithStreamedResponse: |
859 | 885 | _client: OpenAI |
@@ -951,6 +977,12 @@ def evals(self) -> evals.EvalsWithStreamingResponse: |
951 | 977 |
|
952 | 978 | return EvalsWithStreamingResponse(self._client.evals) |
953 | 979 |
|
| 980 | + @cached_property |
| 981 | + def containers(self) -> containers.ContainersWithStreamingResponse: |
| 982 | + from .resources.containers import ContainersWithStreamingResponse |
| 983 | + |
| 984 | + return ContainersWithStreamingResponse(self._client.containers) |
| 985 | + |
954 | 986 |
|
955 | 987 | class AsyncOpenAIWithStreamedResponse: |
956 | 988 | _client: AsyncOpenAI |
@@ -1048,6 +1080,12 @@ def evals(self) -> evals.AsyncEvalsWithStreamingResponse: |
1048 | 1080 |
|
1049 | 1081 | return AsyncEvalsWithStreamingResponse(self._client.evals) |
1050 | 1082 |
|
| 1083 | + @cached_property |
| 1084 | + def containers(self) -> containers.AsyncContainersWithStreamingResponse: |
| 1085 | + from .resources.containers import AsyncContainersWithStreamingResponse |
| 1086 | + |
| 1087 | + return AsyncContainersWithStreamingResponse(self._client.containers) |
| 1088 | + |
1051 | 1089 |
|
1052 | 1090 | Client = OpenAI |
1053 | 1091 |
|
|
0 commit comments