pymovements.ResourceDefinition.to_dict#
- ResourceDefinition.to_dict(*, exclude_none: bool = True) dict[str, Any][source]#
Convert the
ResourceDefinitioninstance into a dictionary.- Parameters:
exclude_none (bool) – Exclude attributes that are either
Noneor that are objects that evaluate toFalse(e.g.,[],{}). Attributes of typebool,int, andfloatare not excluded.- Returns:
dictrepresentation ofResourceDefinition.- Return type:
dict[str, Any]