Skip to content

Commit 504b7d4

Browse files
refactor: remove unnecessary builtin import (#1094)
1 parent 629bde5 commit 504b7d4

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

src/openai/types/beta/assistant.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# File generated from our OpenAPI spec by Stainless.
22

3-
import builtins
43
from typing import List, Union, Optional
54
from typing_extensions import Literal
65

@@ -53,7 +52,7 @@ class Assistant(BaseModel):
5352
The maximum length is 32768 characters.
5453
"""
5554

56-
metadata: Optional[builtins.object] = None
55+
metadata: Optional[object] = None
5756
"""Set of 16 key-value pairs that can be attached to an object.
5857
5958
This can be useful for storing additional information about the object in a

src/openai/types/beta/thread.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# File generated from our OpenAPI spec by Stainless.
22

3-
import builtins
43
from typing import Optional
54
from typing_extensions import Literal
65

@@ -16,7 +15,7 @@ class Thread(BaseModel):
1615
created_at: int
1716
"""The Unix timestamp (in seconds) for when the thread was created."""
1817

19-
metadata: Optional[builtins.object] = None
18+
metadata: Optional[object] = None
2019
"""Set of 16 key-value pairs that can be attached to an object.
2120
2221
This can be useful for storing additional information about the object in a

src/openai/types/beta/threads/run.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# File generated from our OpenAPI spec by Stainless.
22

3-
import builtins
43
from typing import List, Union, Optional
54
from typing_extensions import Literal
65

@@ -116,7 +115,7 @@ class Run(BaseModel):
116115
last_error: Optional[LastError] = None
117116
"""The last error associated with this run. Will be `null` if there are no errors."""
118117

119-
metadata: Optional[builtins.object] = None
118+
metadata: Optional[object] = None
120119
"""Set of 16 key-value pairs that can be attached to an object.
121120
122121
This can be useful for storing additional information about the object in a

src/openai/types/beta/threads/runs/run_step.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# File generated from our OpenAPI spec by Stainless.
22

3-
import builtins
43
from typing import Union, Optional
54
from typing_extensions import Literal
65

@@ -68,7 +67,7 @@ class RunStep(BaseModel):
6867
Will be `null` if there are no errors.
6968
"""
7069

71-
metadata: Optional[builtins.object] = None
70+
metadata: Optional[object] = None
7271
"""Set of 16 key-value pairs that can be attached to an object.
7372
7473
This can be useful for storing additional information about the object in a

src/openai/types/beta/threads/thread_message.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# File generated from our OpenAPI spec by Stainless.
22

3-
import builtins
43
from typing import List, Union, Optional
54
from typing_extensions import Literal
65

@@ -37,7 +36,7 @@ class ThreadMessage(BaseModel):
3736
that can access files. A maximum of 10 files can be attached to a message.
3837
"""
3938

40-
metadata: Optional[builtins.object] = None
39+
metadata: Optional[object] = None
4140
"""Set of 16 key-value pairs that can be attached to an object.
4241
4342
This can be useful for storing additional information about the object in a

0 commit comments

Comments
 (0)