Closed wey-gu closed 3 years ago
This commit introduced a new method ConnectionPool.session_context, which takes exactly the same arguments as ConnectionPool.get_session. It's just a context manager for handling connection sessions.
Issue:(#84)
Signed-off-by: Wey Gu weyl.gu@gmail.com
All committers have signed the CLA.
Well done! It brings convenience to users.
This commit introduced a new method ConnectionPool.session_context, which takes exactly the same arguments as ConnectionPool.get_session. It's just a context manager for handling connection sessions.
Issue:(#84)
Signed-off-by: Wey Gu weyl.gu@gmail.com