AsyncSandbox¶
- class baseten.sandbox.AsyncSandbox¶
Bases:
objectAsync form of
Sandbox.Get one from
AsyncSandboxClient.create(),AsyncSandboxClient.get(), orAsyncSandboxClient.sandbox_from_url().- Parameters:
context (AsyncSandboxContext)
- property fs: AsyncSandboxFileSystem¶
Files and directories in the sandbox.
- property previews: AsyncSandboxPreviews¶
The sandbox’s previews, which expose its ports on HTTPS URLs.
Every call fails on a sandbox from
AsyncSandboxClient.sandbox_from_url(), which has no name.
- property process: AsyncSandboxProcess¶
Processes in the sandbox.
- property raw_api: AsyncApiClient¶
The generated client for this sandbox’s execution API, authenticated.
For operations this SDK does not wrap. The generated API surface is not covered by stability guarantees and may change between versions.