From 504b7d4a0b4715bd49a1a076a8d4868e51fb3351 Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Mon, 22 Jan 2024 19:36:36 +0100 Subject: [PATCH] refactor: remove unnecessary builtin import (#1094) --- src/openai/types/beta/assistant.py | 3 +-- src/openai/types/beta/thread.py | 3 +-- src/openai/types/beta/threads/run.py | 3 +-- src/openai/types/beta/threads/runs/run_step.py | 3 +-- src/openai/types/beta/threads/thread_message.py | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/openai/types/beta/assistant.py b/src/openai/types/beta/assistant.py index 89e45d4806..7a29984b50 100644 --- a/src/openai/types/beta/assistant.py +++ b/src/openai/types/beta/assistant.py @@ -1,6 +1,5 @@ # File generated from our OpenAPI spec by Stainless. -import builtins from typing import List, Union, Optional from typing_extensions import Literal @@ -53,7 +52,7 @@ class Assistant(BaseModel): The maximum length is 32768 characters. """ - metadata: Optional[builtins.object] = None + metadata: Optional[object] = None """Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a diff --git a/src/openai/types/beta/thread.py b/src/openai/types/beta/thread.py index 474527033a..a0002a21ef 100644 --- a/src/openai/types/beta/thread.py +++ b/src/openai/types/beta/thread.py @@ -1,6 +1,5 @@ # File generated from our OpenAPI spec by Stainless. -import builtins from typing import Optional from typing_extensions import Literal @@ -16,7 +15,7 @@ class Thread(BaseModel): created_at: int """The Unix timestamp (in seconds) for when the thread was created.""" - metadata: Optional[builtins.object] = None + metadata: Optional[object] = None """Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a diff --git a/src/openai/types/beta/threads/run.py b/src/openai/types/beta/threads/run.py index db4bc0e07d..9c875a9242 100644 --- a/src/openai/types/beta/threads/run.py +++ b/src/openai/types/beta/threads/run.py @@ -1,6 +1,5 @@ # File generated from our OpenAPI spec by Stainless. -import builtins from typing import List, Union, Optional from typing_extensions import Literal @@ -116,7 +115,7 @@ class Run(BaseModel): last_error: Optional[LastError] = None """The last error associated with this run. Will be `null` if there are no errors.""" - metadata: Optional[builtins.object] = None + metadata: Optional[object] = None """Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a diff --git a/src/openai/types/beta/threads/runs/run_step.py b/src/openai/types/beta/threads/runs/run_step.py index 5f3e29a312..01aab8e9a6 100644 --- a/src/openai/types/beta/threads/runs/run_step.py +++ b/src/openai/types/beta/threads/runs/run_step.py @@ -1,6 +1,5 @@ # File generated from our OpenAPI spec by Stainless. -import builtins from typing import Union, Optional from typing_extensions import Literal @@ -68,7 +67,7 @@ class RunStep(BaseModel): Will be `null` if there are no errors. """ - metadata: Optional[builtins.object] = None + metadata: Optional[object] = None """Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a diff --git a/src/openai/types/beta/threads/thread_message.py b/src/openai/types/beta/threads/thread_message.py index 8f1ac07d0a..25b3a199f7 100644 --- a/src/openai/types/beta/threads/thread_message.py +++ b/src/openai/types/beta/threads/thread_message.py @@ -1,6 +1,5 @@ # File generated from our OpenAPI spec by Stainless. -import builtins from typing import List, Union, Optional from typing_extensions import Literal @@ -37,7 +36,7 @@ class ThreadMessage(BaseModel): that can access files. A maximum of 10 files can be attached to a message. """ - metadata: Optional[builtins.object] = None + metadata: Optional[object] = None """Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a