Hacker News new | ask | show | jobs
by globular-toast 90 days ago
One advantage of something like attrs/cattrs is you can use the regular attrs objects inside the module without all the serialisation/validation baggage, then use cattrs to do the serialisation at the edge where you need it.