class documentation
class _ConnectionCallableProto(Protocol): (source)
a callable that returns a :class:`.Connection` given an instance. This callable, when present on a :class:`.Session`, is called only from the ORM's persistence mechanism (i.e. the unit of work flush process) to allow for connection-per-instance schemes (i.e. horizontal sharding) to be used as persistence time. This callable is not present on a plain :class:`.Session`, however is established when using the horizontal sharding extension.
Method | __call__ |
Undocumented |