Skip to content

Add timeout parameter to Connection.execute

Latest
Compare
Choose a tag to compare
@JacobCallahan JacobCallahan released this 26 Sep 18:57
· 4 commits to master since this release

What's Changed

To use the new timeout, simply pass it when calling the execute command. Keep in mind that the timeout is in milliseconds.

conn.execute("sleep 5", timeout=4000)

Full Changelog: 0.1.6...0.1.7