alab_management.experiment_view.experiment module#

Define the format of experiment request.

class InputExperiment(**data)[source]#

Bases: BaseModel

This is the format that user should follow to write to experiment database.

metadata: dict[str, Any]#
model_config: ClassVar[ConfigDict] = {}#

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

classmethod must_be_bsonable(v)[source]#

If v is not None, we must confirm that it can be encoded to BSON.

name: str#
samples: list[_Sample]#
tags: list[str]#
tasks: list[_Task]#