4 ms·
How does this compare to schematics? It avoids inheritance, whereas in schematics and similar projects you'd have to inherit from their `Model` class (and thus
by Myrmornis 10y ago
How does this compare to schematics? It avoids inheritance, whereas in schematics and similar projects you'd have to inherit from their `Model` class (and thus acquire methods you might not want).
- jgalt212 10y agoUntil your comment, I had never seen schematics. I poked around a bit and my initial impression is that it seems like marshmallow-- it's heavily focused on validation rather than reducing boilerplate.
- StavrosK 10y agoSchematics looks a bit like a less elegant version of schema. It does seem more focused on validation than attrs, I agree.
- asciihacker 10y agoSchema [1] does not appear to have any support for object initialization. [1] https://pypi.python.org/pypi/schema/0.6.2 https://pypi.python.org/pypi/schema/0.6.2