Yup. Sure. I meant "query timeouts", not "connection timeouts".
May be a good option could be like this:
connection.execute(stmt, timeout=MAX_TIME)
Anyway, thanks.
(Admins, please, feel free to delete this conversation. I'm ashamed for not
using search properly. Sorry for that)
On Monday, Janu
SQLAlchemy supports connection timeouts to establish a connection already.
SQLAlchemy does not, and can not, support query timeouts. This is possible
with some python database drivers, but very rare. In every Python database
program/library query timeouts are typically handled on the database
UPD: found out cx_Oracle also has Connection.cancel() method. May be things
are not that bad
On Monday, January 10, 2022 at 12:52:49 PM UTC+3 Don Nillo wrote:
> Hi!
> Sorry for bothering, I have not enough skills to contribute yet (
> But...
> I think it would be great to have some feature to ea