simplified hello_async.py example

This commit is contained in:
Miguel Grinberg
2022-01-22 23:23:31 +00:00
parent bd82c4deab
commit c130d8f2d4

View File

@@ -33,8 +33,4 @@ async def shutdown(request):
return 'The server is shutting down...'
async def main():
await app.start_server(debug=True)
asyncio.run(main())
app.run(debug=True)