BigBrotherBot v1.8.0
System Development Information for the BigBrotherBot project.

b3::lib::beaker::ext::sqla::SqlaNamespaceManager Class Reference

Inheritance diagram for b3::lib::beaker::ext::sqla::SqlaNamespaceManager:
b3::lib::beaker::container::OpenResourceNamespaceManager b3::lib::beaker::container::NamespaceManager

List of all members.

Public Member Functions

def __init__
def get_access_lock
def get_creation_lock
def do_open
def do_close
def do_remove
def __getitem__
def __contains__
def __setitem__
def __delitem__
def keys

Public Attributes

 lock_dir
 bind
 table
 hash
 loaded
 flags

Static Public Attributes

tuple binds = SyncDict()
tuple tables = SyncDict()

Private Member Functions

def _init_dependencies

Private Attributes

 _is_new

Constructor & Destructor Documentation

def b3::lib::beaker::ext::sqla::SqlaNamespaceManager::__init__ (   self,
  namespace,
  bind,
  table,
  data_dir = None,
  lock_dir = None,
  kwargs 
)
Create a namespace manager for use with a database table via
SQLAlchemy.

``bind``
    SQLAlchemy ``Engine`` or ``Connection`` object

``table``
    SQLAlchemy ``Table`` object in which to store namespace data.
    This should usually be something created by ``make_cache_table``.

Member Function Documentation

def b3::lib::beaker::ext::sqla::SqlaNamespaceManager::__contains__ (   self,
  key 
)
def b3::lib::beaker::ext::sqla::SqlaNamespaceManager::__delitem__ (   self,
  key 
)
def b3::lib::beaker::ext::sqla::SqlaNamespaceManager::__getitem__ (   self,
  key 
)
def b3::lib::beaker::ext::sqla::SqlaNamespaceManager::__setitem__ (   self,
  key,
  value 
)
def b3::lib::beaker::ext::sqla::SqlaNamespaceManager::_init_dependencies (   cls) [private]
def b3::lib::beaker::ext::sqla::SqlaNamespaceManager::do_close (   self)
def b3::lib::beaker::ext::sqla::SqlaNamespaceManager::do_open (   self,
  flags 
)
def b3::lib::beaker::ext::sqla::SqlaNamespaceManager::do_remove (   self)
def b3::lib::beaker::ext::sqla::SqlaNamespaceManager::get_access_lock (   self)
def b3::lib::beaker::ext::sqla::SqlaNamespaceManager::get_creation_lock (   self,
  key 
)
def b3::lib::beaker::ext::sqla::SqlaNamespaceManager::keys (   self)

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties