Use correct name for yaml.dump (#354)

This commit changes the incorrectly named yaml.dumps to yaml.dump.
This commit is contained in:
Henrik Ossipoff Hansen 2019-01-25 23:20:17 +01:00 committed by Tom Christie
parent d06252e68a
commit 1f4338dc99
1 changed files with 1 additions and 1 deletions

View File

@ -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