Steven Loria
Steven Loria
As an intermediate step, we could set more defaults at the class level ```python fields.Field.default_required = True ```
I wasn't able to reproduce this. added a test to cover this case in https://github.com/marshmallow-code/marshmallow-sqlalchemy/pull/666 and it passes. @Curiouspaul1 can you post a more complete minimal reproducible example?
sorry--haven't had much time to work on marshmallow these days. would definitely appreciate help on this, even if it's an incomplete PR.
Seems like a reasonable change to me. We'd certainly review a PR, @bjmc !
Ah, right, the typing isn't completely correct. PRs welcome!
https://github.com/marshmallow-code/marshmallow/pull/1488 fixes this.
Is there a way to make it work when `many=None`, i.e. when `self.many` is used?
@jtrakk Would you like to investigate this further and send a PR to improve the typing? I'm afraid I won't be able to look into this within the next few...
I'm not opposed to the idea. Feel free to send a PR for review. However, I can't promise we'll get to it in the immediate future because we're currently focused...
@timc13 That's a good point. @remeika Is your use case solved by using a computed property like in Tim's example?