Skip to content

refactor: remove unnecessary builtin import #1094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

@@ -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
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

@@ -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
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

@@ -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
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

@@ -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
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

@@ -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