python-desert
python-desert
> Keep in mind that the problem in python-attrs/attrs#278 had nothing to do with attrs mutating anything. I called attr.ib() and then mutated the metadata attribute's dict. Good point. `mapping...
I don't think that usage ought to be supported. There are several options already available for setting defaults.
Let's call them 'lock' or something instead of 'txt'.
That sounds like a good idea.
This might be an upstream issue in Python or typing_inspect, or maybe we're just doing it wrong. We could try to figure out a workaround. I've opened https://github.com/python-desert/desert/issues/89 to discuss...
Sounds like a nice simplifier.
Thanks @sveinse. This raises a question. Currently `t.Any` goes to `mm.fields.Raw`. If we think that's okay, `allow_none=True` needs to be set on the field when the hint is `t.Any`. If...
If you want to, sure.
> But that's pretty unwieldy and WET. > > I proposed the following interface that seems pretty straightforward to implement and use. As you say, ```py do_not_serialize: str = desert.ib(marshmallow.fields.String(dump_only=False,...
> For completeness, I also proposed an alternative that is unlikely to end up a good choice but it relates to my frustration that 'annotations' have been co-opted to exclusively...