to_async(
self,
*,
client: Optional[AsyncSandboxClient] = None
) -> AsyncSandbox| Name | Type | Description |
|---|---|---|
client | Optional[AsyncSandboxClient] | Default: NoneAsyncSandboxClient to use for operations. If not provided,
one is created with the same configuration as this sandbox's
client (see :meth: |
Create an AsyncSandbox for the same underlying sandbox.
The returned instance has auto_delete disabled so the sandbox's
lifecycle stays tied to this instance; both refer to the same
server-side sandbox.