pymovements.DatasetDefinition.to_dict#
- DatasetDefinition.to_dict(*, exclude_private: bool = True, exclude_none: bool = True) dict[str, Any][source]#
Return dictionary representation.
- Parameters:
exclude_private (bool) – Exclude attributes that start with
_.exclude_none (bool) – Exclude attributes that are either
Noneor that are objects that evaluate toFalse(e.g.,[],{},EyeTracker()). Attributes of typebool,int, andfloatare not excluded.
- Returns:
Dictionary representation of dataset definition.
- Return type:
dict[str, Any]