title: How to set a query timeout in sqlalchemy using Oracle database?
body: <p>I want to create a query timeout in sqlalchemy. I have an oracle database.</p>
  
  <p>I have tried following code:</p>
  
  <pre><code>import sqlalchemy
  engine = sqlalchemy.create_engine('oracle://db', connect_args={'querytimeout': 10})
  </code></pre>
  
  <p>I got following error: </p>
  
  <pre><code>TypeError: 'querytimeout' is an invalid keyword argument for this function
  </code></pre>
  
  <p>I would like a solution looking like:</p>
  
  <pre><code>connection.execute('query').set_timeout(10)
  </code></pre>
  
  <p>Maybe it is possible to set timeout in sql query? I found how to do it in pl/sql, but i need just sql.</p>
  
  <p>How could i set a query timeout? </p>