api.task_logic

pydantic model aind_behavior_video_encoding_benchmarks.task_logic.AindVideoEncodingBenchmarksTaskLogic[source]

Bases: AindBehaviorTaskLogicModel

Config:
  • extra: str = forbid

  • validate_assignment: bool = True

  • validate_defaults: bool = True

  • strict: bool = True

  • str_strip_whitespace: bool = True

Fields:
Validators:
field name: str = 'AindVideoEncodingBenchmarks'[source]

Name of the task logic

field task_parameters: AindVideoEncodingBenchmarksTaskParameters [Required][source]

Parameters of the task logic

field version: Literal[__version__] = '0.1.1'[source]
Validated by:
  • coerce_version

pydantic model aind_behavior_video_encoding_benchmarks.task_logic.AindVideoEncodingBenchmarksTaskParameters[source]

Bases: TaskParameters

Config:
  • extra: str = allow

  • validate_assignment: bool = True

  • validate_defaults: bool = True

  • strict: bool = True

  • str_strip_whitespace: bool = True

Fields:
Validators:

field save_raw_video: bool = False[source]

For each video-writer object, will also save the RAW encoded video to disk. Use at your own risk.