Skip to content

Commit

Permalink
refactor: remove unnecessary builtin import (#1094)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Jan 25, 2024
1 parent ad87ea4 commit dd808c0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions src/openai/types/beta/assistant.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/openai/types/beta/thread.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# File generated from our OpenAPI spec by Stainless.

import builtins
from typing import Optional
from typing_extensions import Literal

Expand All @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/openai/types/beta/threads/run.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/openai/types/beta/threads/runs/run_step.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# File generated from our OpenAPI spec by Stainless.

import builtins
from typing import Union, Optional
from typing_extensions import Literal

Expand Down Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/openai/types/beta/threads/thread_message.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dd808c0

Please sign in to comment.