Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

1.1 KB
Raw Blame
"""e2b volumes on Cua Volume.

The classes live in the modules e2b has them in (`e2b.volume.volume_async`,
`e2b.volume.volume_sync`, `.types`, `.utils`, `.connection_config`); this
package re-exports them. See `e2b.volume.volume_async` for how a volume is
kept on Cua Volume.

The e2b SDK is MIT-licensed; this package matches its public API.
"""

from e2b.exceptions import VolumeNotFoundException, VolumePathNotFoundException
from e2b.volume.connection_config import VolumeApiParams, VolumeConnectionConfig
from e2b.volume.types import (
    VolumeAndToken,
    VolumeEntryStat,
    VolumeEntryStatType,
    VolumeFileType,
    VolumeInfo,
)
from e2b.volume.volume_async import DIR_MARKER, MARKER, ROOT, AsyncVolume, mount_source
from e2b.volume.volume_sync import Volume

__all__ = [
    "AsyncVolume",
    "DIR_MARKER",
    "MARKER",
    "ROOT",
    "Volume",
    "VolumeAndToken",
    "VolumeApiParams",
    "VolumeConnectionConfig",
    "VolumeEntryStat",
    "VolumeEntryStatType",
    "VolumeFileType",
    "VolumeInfo",
    "VolumeNotFoundException",
    "VolumePathNotFoundException",
    "mount_source",
]