Fixed missing .data on Marshmallow dump

This commit is contained in:
Jan Vlcinsky
2018-11-04 22:06:54 +01:00
parent 0c9bc5a3af
commit 45d6c1389d
+1 -1
View File
@@ -81,7 +81,7 @@ Responder comes with built-in support for OpenAPI / marshmallow::
schema:
$ref = "#/components/schemas/Pet"
"""
resp.media = PetSchema().dump({"name": "little orange"})
resp.media = PetSchema().dump({"name": "little orange"}).data
::