maple.server.daemon.ServeEnvRequest

class maple.server.daemon.ServeEnvRequest(*, name: str, device: str = 'cpu', num_envs: int = 1, host_port: int | None = None)

Request model for serving environment containers.

Methods

Attributes

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

name

device

num_envs

host_port