From 1f4338dc99bfc457aee31b3394f046ca47c6841a Mon Sep 17 00:00:00 2001 From: Henrik Ossipoff Hansen Date: Fri, 25 Jan 2019 23:20:17 +0100 Subject: [PATCH] Use correct name for yaml.dump (#354) This commit changes the incorrectly named yaml.dumps to yaml.dump. --- docs/schemas.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/schemas.md b/docs/schemas.md index 49f4b654..f1bbe1d2 100644 --- a/docs/schemas.md +++ b/docs/schemas.md @@ -86,7 +86,7 @@ if __name__ == '__main__': if sys.argv[-1] == "run": uvicorn.run(app, host='0.0.0.0', port=8000) elif sys.arvg[-1] == "schema": - print(yaml.dumps(app.schema, default_flow_style=False)) + print(yaml.dump(app.schema, default_flow_style=False)) ``` ### Third party packages