m3resp.DataFile#

class m3resp.DataFile(*, file_id=<factory>, session_id=None, signal_id=None, file_path, file_format=None, file_role=None, checksum_sha256=None, file_size_bytes=None, created_at=<factory>)[source]#

A physical file holding raw/processed/derived data (doc Sec 8.1).

Attributes

model_config

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

file_id

session_id

signal_id

file_path

file_format

file_role

checksum_sha256

file_size_bytes

created_at

Parameters:
  • file_id (str)

  • session_id (str | None)

  • signal_id (str | None)

  • file_path (str)

  • file_format (Literal['hdf5', 'edf', 'csv', 'json', 'dicom', 'mat', 'parquet', 'zarr', 'other'] | str | None)

  • file_role (Literal['raw', 'processed', 'derived', 'annotation', 'parameter', 'report'] | None)

  • checksum_sha256 (str | None)

  • file_size_bytes (int | None)

  • created_at (float)

checksum_sha256: str | None#
created_at: float#
file_format: FileFormat | None#
file_id: str#
file_path: str#
file_role: FileRole | None#
file_size_bytes: int | None#
model_config = {'extra': 'forbid'}#

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

session_id: str | None#
signal_id: str | None#