t.r.Registry : class documentation

Part of twistar.registry View In Hierarchy

A data store containing mostly class variables that act as constants.
Line # Kind Name Docs
0 Class Variable DBPOOL This should be set to the twisted.enterprise.dbapi.ConnectionPool to use for all database interaction.
25 Class Method register Register some number of classes in the registy. This is necessary so that when objects are created on the fly (specifically, as a result of relationship gets) the package knows how to find them.
38 Class Method getClass Get a registered class by the given name.
48 Class Method getDBAPIClass Per http://www.python.org/dev/peps/pep-0249/ each DBAPI driver must implement it's own Date/Time/Timestamp/etc classes. This method provides a generalized way to get them from whatever DB driver is being used.
60 Class Method getConfig Get the current DB config object being used for DB interaction. This is one of the classes that extends base.InteractionBase.
DBPOOL =
This should be set to the twisted.enterprise.dbapi.ConnectionPool to use for all database interaction.
@classmethod
def register(_, *klasses):
Register some number of classes in the registy. This is necessary so that when objects are created on the fly (specifically, as a result of relationship gets) the package knows how to find them.
ParametersklassesAny number of parameters, each of which is a class.
@classmethod
def getClass(klass, name):
Get a registered class by the given name.
@classmethod
def getDBAPIClass(klass, name):
Per http://www.python.org/dev/peps/pep-0249/ each DBAPI driver must implement it's own Date/Time/Timestamp/etc classes. This method provides a generalized way to get them from whatever DB driver is being used.
@classmethod
def getConfig(klass):
Get the current DB config object being used for DB interaction. This is one of the classes that extends base.InteractionBase.
API Documentation for twistar, generated by pydoctor at 2012-06-12 10:00:49.