beaker.ext.database – Database Container and NameSpace Manager classes
Module Contents
- class beaker.ext.database.DatabaseContainer(key, context, namespace, createfunc=None, expiretime=None, starttime=None, **kwargs)
- class beaker.ext.database.DatabaseNamespaceManager(namespace, url=None, sa_opts=None, table_name='beaker_cache', data_dir=None, lock_dir=None, schema_name=None, **params)
Creates a database namespace manager
urlSQLAlchemy compliant db url
sa_optsA dictionary of SQLAlchemy keyword options to initialize the engine with.
table_nameThe table name to use in the database for the cache.
schema_nameThe schema name to use in the database for the cache.