asdict
Convert a strawberry object into a dictionary.
This wraps the dataclasses.asdict function to strawberry.
Returns:
A dictionary representation of the object.
Signature:
def asdict(obj: Any) -> Dict[str, object]: ...
Parameters:
-
obj:
The object to convert into a dictionary.
- Type
-
Any