Strategies for creating new instances of Engine types.
These are semi-private implementation classes which provide the underlying behavior for the "strategy" keyword argument available on create_engine(). Current available options are plain, threadlocal, and mock.
New strategies can be added via new EngineStrategy classes.
An adaptor that processes input arguements and produces an Engine.
Provides a create method that receives input arguments and produces an instance of base.Engine or a subclass.
Construct a new EngineStrategy object.
Sets it in the list of available strategies under this name.
Strategy for configuring an Engine-like object with mocked execution.
Produces a single mock Connectable object which dispatches statement execution to a passed-in function.
Strategy for configuring a regular Engine.
Strategy for configuring an Engine with thredlocal behavior.
attrgetter(attr, ...) --> attrgetter object
Return a callable object that fetches the given attribute(s) from its operand. After, f=attrgetter('name'), the call f(r) returns r.name. After, g=attrgetter('name', 'date'), the call g(r) returns (r.name, r.date).