pymovements.datasets.FakeNewsPerception.to_dict#

FakeNewsPerception.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 None or that are objects that evaluate to False (e.g., [], {}, EyeTracker()). Attributes of type bool, int, and float are not excluded.

Returns:

Dictionary representation of dataset definition.

Return type:

dict[str, Any]