Skip to content

Commit

Permalink
update code to remove warning from marshmallow
Browse files Browse the repository at this point in the history
the updated code remove the RemovedInMarshmallow4Warning warning from
marshmallow.field
  • Loading branch information
utnapischtim committed Feb 8, 2022
1 parent 4e181e9 commit 3d9975f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion invenio_oaiserver/verbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ class ListIdentifiers(OAISchema):
"""Arguments for ListIdentifiers verb."""

from_ = DateTime(
format="permissive", load_from="from", data_key="from", dump_to="from"
format="permissive",
metadata={"load_from": "from", "data_key": "from", "dump_to": "from"},
)
until = DateTime(format="permissive")
set = fields.Str()
Expand Down

0 comments on commit 3d9975f

Please sign in to comment.