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 remote_path: str | None = None[source]

Remote path where data will be attempted to be copied to after experiment is done

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.2.0'] = '0.2.0'[source]
Validated by:
validator coerce_version  »  version[source]
validator generate_session_name_default  »  all fields[source]