nemo_gym.sandbox.api
nemo_gym.sandbox.api
Provider-neutral public sandbox API.
Module Contents
Classes
Data
API
Async sandbox object backed by a runtime provider.
_handle
_provider
async
async
asyncclassmethod
Rebuild a sandbox in this process from a descriptor produced by
:meth:serialize, using provider (which must support connect).
async
async
Resolve a declared sandbox service port without exposing provider state.
async
async
Return a JSON descriptor another process can rebuild this box from.
Requires a provider that supports the connect capability (the remote
provider, or an external-control-plane provider such as OpenSandbox). For
the remote provider, scope mints a co-lease (scope="operate").
async
async
async
async
Synchronous wrapper around AsyncSandbox.
_async_sandbox
_runner
Run async sandbox operations for sync callers.
_loop
_ready
_thread