Logo Search packages:      
Sourcecode: sqlalchemy version File versions  Download package

sqlalchemy::util::ScopedRegistry Class Reference

Inherited by sqlalchemy::util::ThreadLocalRegistry.

List of all members.


Detailed Description

A Registry that can store one or multiple instances of a single
class on a per-thread scoped basis, or on a customized scope.

createfunc
  a callable that returns a new object to be placed in the registry

scopefunc
  a callable that will return a key to store/retrieve an object.

Definition at line 1221 of file util.py.


Public Member Functions

def __call__
def __init__
def clear
def has
def set

Public Attributes

 createfunc
 registry
 scopefunc

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index