Zachary Ware <zachary.w...@gmail.com> added the comment:

That's already provided, just do `return outputs` instead of `print(outputs)`, 
and `outputs = event_loop.run_until_complete(main())`.  See 
https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.AbstractEventLoop.run_until_complete

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31832>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to