cattrs — Easy Playground
Structured/unstructured conversion for attrs and dataclasses
Getting started with cattrsRun locally
Install
pip install cattrsPython CodeRun locally
Expected Output
# Expected output shown below # (Run locally with: cattrs)
cattrs is a third-party package. Structured/unstructured conversion for attrs and dataclasses. Install with: pip install cattrs
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?