initvars#

initvars(obj: object, include_defaults: bool = False, include_kwargs: bool = False, include_properties: bool = False) Dict[Any, Any][source]#

Return object __dict__ variables that was passed throw constructor (__init__ method).

Parameters
objobject
include_defaultsbool, default False

wherether to include vars with default value or not

Returns
Dict[Any, Any] subset of the obj __dict__