Commit dd808c0f

Stainless Bot <107565488+stainless-bot@users.noreply.github.com>
2024-01-23 02:36:36
refactor: remove unnecessary builtin import (#1094)
1 parent ad87ea4
Changed files (5)
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
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
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
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
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