Skip to main content

as_dict

No overview available.

def as_dict(
value: &Bound< 'py, PyAny >
) - > dict

Converts the object instance into a dictionary representation, typically used for serialization or data transfer.

Returns

TypeDescription
dictA dictionary containing the object's attributes mapped to their respective values.