Closed gvfnix closed 6 years ago
According to Tornado 5.0 release notes:
The exc_info and set_exc_info methods are no longer present. Use tornado.concurrent.future_set_exc_info to replace the latter, and raise the exception with ~asyncio.Future.result to replace the former.
I don't think momoko is compatible with Tornado 5.x: This is the 2.x version of Momoko. It requires 4.0 <= Tornado < 5.0
@friedcell So it looks like there is no way to use momoko with Tornado 5+ properly? And i guess we don't have async db driver for latest Tornado releases anymore? @gvfnix How did you handle it?
@papaslen we're experimenting with a wrapper around https://github.com/aio-libs/aiopg to provide the same API but there are some differences on how it handles returning connections to the pool (for us mostly relevant in tests)
@friedcell Oh, thanks for the rapid response) I definitely will take a look on aiopg.
Code:
Trace:
Environment:
Tornado doc says: