AindBehaviorTaskLogicModel

pydantic model aind_behavior_services.AindBehaviorTaskLogicModel[source]

Bases: Task

Config:
  • extra: str = forbid

  • validate_assignment: bool = True

  • validate_defaults: bool = True

  • strict: bool = True

  • str_strip_whitespace: bool = True

Fields:
  • task_parameters (aind_behavior_services.task_logic.TaskParameters)

  • version (str)

Validators:
  • coerce_version » version

field task_parameters: TaskParameters [Required][source]

Parameters of the task logic

field version: str [Required][source]

task schema version

Constraints:
  • pattern = ^(0|[1-9]d*).(0|[1-9]d*).(0|[1-9]d*)(?:-((?:0|[1-9]d*|d*[a-zA-Z-][0-9a-zA-Z-]*)(?:.(?:0|[1-9]d*|d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:+([0-9a-zA-Z-]+(?:.[0-9a-zA-Z-]+)*))?$

Validated by:
  • coerce_version

validator coerce_version  »  version[source]