Re: [sqlalchemy] Set query timeout

2016-12-04 Thread Антонио Антуан
Ok, for example, I'm talking about PostgreSQL (psycopg2). Which attribute/method should I use for setting query timeout? пятница, 2 декабря 2016 г., 17:40:49 UTC+3 пользователь Mike Bayer написал: > > query timeouts are a database / driver dependent feature.It depends > on what kind of

Re: [sqlalchemy] Set query timeout

2016-12-02 Thread mike bayer
query timeouts are a database / driver dependent feature.It depends on what kind of database you're using and you'd need to check the documentation for that database on how that would be done. On 12/02/2016 02:32 AM, Антонио Антуан wrote: Hi Is there any ways to set timeout for

[sqlalchemy] Set query timeout

2016-12-01 Thread Антонио Антуан
Hi Is there any ways to set timeout for particular query, instead of the whole session/connection? Thanks -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example.