From 45d6c1389d155a4222ee127e59e0744741a1451b Mon Sep 17 00:00:00 2001 From: Jan Vlcinsky Date: Sun, 4 Nov 2018 22:06:54 +0100 Subject: [PATCH] Fixed missing `.data` on Marshmallow dump --- docs/source/tour.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/tour.rst b/docs/source/tour.rst index 1cfeb25..e4e7a83 100644 --- a/docs/source/tour.rst +++ b/docs/source/tour.rst @@ -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 ::