nemo_gym.sandbox.providers.daytona.provider
nemo_gym.sandbox.providers.daytona.provider
Daytona provider implementation.
Module Contents
Classes
Functions
Data
API
Shared dataclass construction for Daytona provider config blocks.
Bases: DaytonaConfigBase
Daytona API client connection settings.
Bases: DaytonaConfigBase
Daytona sandbox creation settings.
Bases: SandboxCreateError
Raised when Daytona cannot create a sandbox.
Bases: DaytonaCreateError
Raised when Daytona sandbox creation exceeds the client timeout.
Bases: SandboxCreateVerificationError
Raised when a newly-created Daytona sandbox cannot execute a probe command.
Bases: DaytonaConfigBase
Retry and timeout settings for Daytona operations after create.
Bases: DaytonaConfigBase
Post-create probe settings.
Provider backed by the Daytona Python SDK.
command as Daytona runs it: unchanged for root and for the user the sandbox already runs as (its
os_user), which needs no switch; any other user is refused, as Daytona has no per-command form.
The os_user a sandbox for spec is created with: the configured or extension value, else the
spec’s own default exec user. Daytona selects the user at creation only, so a requested default
becomes the sandbox’s os_user, and one that conflicts with the configured os_user is refused here,
before any task command runs.
The os_user handle’s sandbox runs as: recorded at create, else the sandbox’s own user (a
connected sandbox), else the configured create.os_user.
Recognized per-sandbox create options read from SandboxSpec.provider_options.
A spec’s default exec user as an os_user name, or None for root (Daytona’s own default).