delete_code_interpreter¶
Operation¶
delete_code_interpreter
async
¶
delete_code_interpreter(input: DeleteCodeInterpreterInput, plugins: list[Plugin] | None = None) -> DeleteCodeInterpreterOutput
Deletes a custom code interpreter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DeleteCodeInterpreterInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
DeleteCodeInterpreterOutput
|
An instance of |
Input¶
DeleteCodeInterpreterInput
dataclass
¶
Dataclass for DeleteCodeInterpreterInput structure.
Attributes¶
client_token
class-attribute
instance-attribute
¶
client_token: str | None = None
A unique, case-sensitive identifier to ensure idempotency of the request.
code_interpreter_id
class-attribute
instance-attribute
¶
code_interpreter_id: str | None = None
The unique identifier of the code interpreter to delete.
Output¶
DeleteCodeInterpreterOutput
dataclass
¶
Dataclass for DeleteCodeInterpreterOutput structure.
Attributes¶
code_interpreter_id
instance-attribute
¶
code_interpreter_id: str
The unique identifier of the deleted code interpreter.
last_updated_at
instance-attribute
¶
last_updated_at: datetime
The timestamp when the code interpreter was last updated.
status
instance-attribute
¶
status: CodeInterpreterStatus
The current status of the code interpreter deletion.