inveniosoftware / invenio-oaiserver

Invenio module that adds more fun to the platform.
https://invenio-oaiserver.readthedocs.io
MIT License
3 stars 44 forks source link

Remove deprecation warnings from marshmallow #214

Closed utnapischtim closed 2 years ago

utnapischtim commented 2 years ago

This PR removes the RemovedInMarshmallow4Warning warning by updating the code to the new interface of marshmallow.Field.

It was necessary to wrap parameters (load_from, data_key, dump_to) into a dictionary to give to the parameter metadata.

fenekku commented 2 years ago

Related to https://github.com/inveniosoftware/invenio-app-rdm/issues/1112

rekt-hard commented 2 years ago

LGTM. locally tests pass after #206 has been integrated and this branch has been rebased

lnielsen commented 2 years ago

@utnapischtim or @rekt-hard: Do you mind rebasing the PR so we can merge.