Commit e93e3bd4
Changed files (3)
src
openai
resources
beta
threads
fine_tuning
src/openai/resources/beta/threads/threads.py
@@ -9,14 +9,6 @@ from typing_extensions import Literal, overload
import httpx
from .... import _legacy_response
-from .runs import (
- Runs,
- AsyncRuns,
- RunsWithRawResponse,
- AsyncRunsWithRawResponse,
- RunsWithStreamingResponse,
- AsyncRunsWithStreamingResponse,
-)
from .messages import (
Messages,
AsyncMessages,
@@ -31,7 +23,14 @@ from ...._utils import (
maybe_transform,
async_maybe_transform,
)
-from .runs.runs import Runs, AsyncRuns
+from .runs.runs import (
+ Runs,
+ AsyncRuns,
+ RunsWithRawResponse,
+ AsyncRunsWithRawResponse,
+ RunsWithStreamingResponse,
+ AsyncRunsWithStreamingResponse,
+)
from ...._compat import cached_property
from ...._resource import SyncAPIResource, AsyncAPIResource
from ...._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper
src/openai/resources/beta/beta.py
@@ -2,14 +2,6 @@
from __future__ import annotations
-from .threads import (
- Threads,
- AsyncThreads,
- ThreadsWithRawResponse,
- AsyncThreadsWithRawResponse,
- ThreadsWithStreamingResponse,
- AsyncThreadsWithStreamingResponse,
-)
from ..._compat import cached_property
from .chat.chat import Chat, AsyncChat
from .assistants import (
@@ -21,7 +13,15 @@ from .assistants import (
AsyncAssistantsWithStreamingResponse,
)
from ..._resource import SyncAPIResource, AsyncAPIResource
-from .vector_stores import (
+from .threads.threads import (
+ Threads,
+ AsyncThreads,
+ ThreadsWithRawResponse,
+ AsyncThreadsWithRawResponse,
+ ThreadsWithStreamingResponse,
+ AsyncThreadsWithStreamingResponse,
+)
+from .vector_stores.vector_stores import (
VectorStores,
AsyncVectorStores,
VectorStoresWithRawResponse,
@@ -29,8 +29,6 @@ from .vector_stores import (
VectorStoresWithStreamingResponse,
AsyncVectorStoresWithStreamingResponse,
)
-from .threads.threads import Threads, AsyncThreads
-from .vector_stores.vector_stores import VectorStores, AsyncVectorStores
__all__ = ["Beta", "AsyncBeta"]
src/openai/resources/fine_tuning/fine_tuning.py
@@ -2,7 +2,8 @@
from __future__ import annotations
-from .jobs import (
+from ..._compat import cached_property
+from .jobs.jobs import (
Jobs,
AsyncJobs,
JobsWithRawResponse,
@@ -10,8 +11,6 @@ from .jobs import (
JobsWithStreamingResponse,
AsyncJobsWithStreamingResponse,
)
-from ..._compat import cached_property
-from .jobs.jobs import Jobs, AsyncJobs
from ..._resource import SyncAPIResource, AsyncAPIResource
__all__ = ["FineTuning", "AsyncFineTuning"]