Jérôme Lafréchoux
Jérôme Lafréchoux
Regarding hooks order, see #600.
Just thinking out loud. Wondering if a simple implementation such as this one could be enough. ```py def post_load(self, item, original_item, partial): """Override this to modify single item after load"""...
`data_key` is JSON side, `attribute` is object side. When dumping, marshmallow searches in the objet for `attribute` or field name and serializes as `data_key` or field name. There is nothing...
I think the idea is that the typical use case is using marshmallow to build an API that consumes / produces JSON to load / dump from objects. We don't...
I implemented something similar in a project of mine, but never clean enough to share it here. I had issues, and I think this implem has the same issues, if...
Thanks. This leaves open @deckar01's comment above about `get_value`. Also, validation happens on load and we don't generally have objects after a load but rather builtin structures (dict, list), so...
I understand the need to check the uniticy of a subitem (I managed the same case in an app of mine). What I'm saying is that unless you use a...
> may it be because I'm using marshmallow_dataclass library to generate the Schemas? marshmallow-dataclass does instantiation on load so yes, that would be the reason you have an object at...
IIUC, behaviour is correct and conforms to the documentation: > `exclude` – Blacklist of the declared fields to exclude when instantiating the Schema. The field is excluded, so treated as...
I can't seem to find a way to silence mypy, here. Help welcome.