Trees | Indices | Help |
|
---|
|
object --+ | sqlalchemy.engine.strategies.EngineStrategy --+ | sqlalchemy.engine.strategies.DefaultEngineStrategy --+ | sqlalchemy.engine.strategies.ThreadLocalEngineStrategy --+ | BuildbotEngineStrategy
A subclass of the ThreadLocalEngineStrategy that can effectively interact with Buildbot.
This adjusts the passed-in parameters to ensure that we get the behaviors Buildbot wants from particular drivers, and wraps the outgoing Engine object so that its methods run in threads and return deferreds.
Nested Classes | |
Inherited from |
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Variables | |
name =
|
|
Inherited from |
Properties | |
Inherited from |
Method Details |
For sqlite, percent-substitute %(basedir)s and use a full path to the basedir. If using a memory database, force the pool size to be 1. |
For mysql, take max_idle out of the query arguments, and use its value for pool_recycle. Also, force use_unicode and charset to be True and 'utf8', failing if they were set to anything else. |
Given arguments, returns a new Engine instance.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Jul 17 13:45:20 2011 | http://epydoc.sourceforge.net |