dataclasses-json
dataclasses-json copied to clipboard
fix(mm): Replace deprecated Marshmallow Field parameters
In Marshmallow 3.13.0, the default
and missing
parameters of the
Field
object were deprecated and replaced with dump_default
and
load_default
respectively. As these are new parameters added in
version 3.13.0, the minimum version requirement is bumped accordingly.
fixes: #328
This would be nice to clean up the warning spews!
In case anyone is seeing hundreds of errors, is waiting on this fix to be merged (and uses pytest) adding the following to a pytest.ini
file will suppress these warnings:
[pytest]
filterwarnings =
ignore::DeprecationWarning:marshmallow*
ignore::DeprecationWarning:dataclasses_json*
I would love for this fix to be merged!
@stevenpackardblp please update your PR and we can merge ;)
@stevenpackardblp another ping :) if no reply in a week I'll take over this PR and re-create it
@stevenpackardblp another ping :) if no reply in a week I'll take over this PR and re-create it
Let me refresh my workspace this week and see if I can get this rebased. Apologies for missing the first ping.
it would be great if this could be merged 🙏
Agree, would be great if this could be addressed!
@george-zubrienko big apologies for the delay, I just rebased it.
rebased again.