Table of Contents

Class: OpenDB Bio/Mindy/BaseDB.py
Base Classes   
DictLookup
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" )

Table of Contents

This document was automatically generated on Mon Jul 1 12:03:17 2002 by HappyDoc version 2.0.1