Type | Name | Default | Documentation |
PyString | version | '' | If a version is given, then the connection will use the named version. |
Transaction | transaction | None | If a transaction is provided, then the connection will be automatically closed when the transaction is terminated. This frees the application from the need to manage connections. It is especially handy when extra connections are needed. |
Boolean | temporary | false | If this argument is true, then a new connection will be created and will be deleted when it is closed. The connection is not retrieved from (or allocated in) the connection pool. This is useful when extra connections are needed, typically to move or compare data between versions. |
Boolean | force | false | A true value forces the connection pool, if necessary, to return a connection without blocking. |
Boolean | waitflag | true | A false value will cause open to return the value None if a connection cannot be obtained without blocking. |