Methods
|
|
__getitem__
__init__
keys
lookup
|
|
__getitem__
|
__getitem__ ( self, namespace )
return the database table lookup for the given namespace
Exceptions
|
|
NotImplementedError( "must be implemented in the derived class" )
|
|
|
__init__
|
__init__ (
self,
dbname,
index_type,
)
Exceptions
|
|
TypeError("File %s has changed size from %d to %d bytes!" %(size, os.path.getsize( filename ) ) )
TypeError("FlatDB does not support %r index" %( config [ "index" ], ) )
|
|
|
keys
|
keys ( self )
|
|
lookup
|
lookup (
self,
*args,
*kwargs,
)
Exceptions
|
|
TypeError( "Cannot specify both args and kwargs" )
TypeError( "Only one identifier handled" )
TypeError( "lookup takes a single key" )
|
|
|