api.session

pydantic model aind_behavior_services.session.AindBehaviorSessionModel[source]

Bases: SchemaVersionedModel

Fields:
Validators:
field allow_dirty_repo: bool = False[source]

Allow running from a dirty repository

Validated by:
field commit_hash: str | None = None[source]

Commit hash of the repository

Validated by:
field date: datetime [Optional][source]

Date of the experiment

Validated by:
field experiment: str [Required][source]

Name of the experiment

Validated by:
field experiment_version: str [Required][source]

Version of the experiment

Validated by:
field experimenter: List[str] = [][source]

Name of the experimenter

Validated by:
field notes: str | None = None[source]

Notes about the experiment

Validated by:
field root_path: str [Required][source]

Root path where data will be logged

Validated by:
field session_name: str | None = None[source]

Name of the session. This will be used to create a folder in the root path.

Validated by:
field skip_hardware_validation: bool = False[source]

Skip hardware validation

Validated by:
field subject: str [Required][source]

Name of the subject

Validated by:
field version: Literal['0.3.0'] = '0.3.0'[source]
Validated by:
validator generate_session_name_default  »  all fields[source]