hugapi / hug

Embrace the APIs of the future. Hug aims to make developing APIs as simple as possible, but no simpler.
MIT License
6.86k stars 388 forks source link

Support Marshmallow 3 #926

Open stefanor opened 6 days ago

stefanor commented 6 days ago

I'm unsure about 3d3591f, but the rest seems pretty straightforward:

  1. Take kwargs in post-processors, as marshmallow expects. They've added new named arguments, over time.
  2. Handle ValueError in validation.
  3. Set a default value for context in MarshmallowInputSchema. This is the bit I'm unsure of.
  4. Bump marshmallow deps in tox.

Fixes: #859