Tin Tvrtković
Tin Tvrtković
I agree that it's annoying but it's also useful I think. Also doing it to have parity with _attrs_. ;)
Why does it need to be `attrs.fields(Parent).a.evolve(default=200).to_field()` instead of maybe `attrs.fields(Parent).a.to_field(default=200)`? We'll need to add Mypy support to this before it can be used for real, and we should look...
We could contribute work to the mypy plugin so it would work 😇
Interesting, thanks. Going to be a long while until we can fix this though :(
I think this is a good idea and we should do it. Let's brainstorm the design a little bit. It would be great if at the end of this we...
> Finally: what is the process for running coverage? You should be able to just run pytest under coverage (`coverage run -m pytest` I think, I'm on mobile currently). There...
I think you need to run `coverage combine` before `coverage report`: https://coverage.readthedocs.io/en/latest/cmd.html#cmd-combine.
Sorry you had a bad experience using cattrs! Let me try organizing my thoughts. The most immediate thing is that your code example isn't correct - a string is not...
Hi, so I think you have a couple of options here. One would be using the [`cattrs.transform_error`](https://catt.rs/en/stable/validation.html#transforming-exceptions-into-error-messages) helper. In this case, it will produce a list of error messages like...