maple.backend.envs.base.EnvHandle
- class maple.backend.envs.base.EnvHandle(env_id: str, backend_name: str, device: str, host: str, port: str, container_id: str | None = None, metadata: Dict[str, ~typing.Any]=<factory>)
Handle representing a running environment container instance.
Encapsulates all information needed to interact with a running environment container, including connection details and metadata.
Methods
__init__(env_id, backend_name, device, host, ...)from_dict(d)Create handle from dictionary representation.
to_dict()Convert handle to dictionary representation.
Attributes