Package pulp :: Package server :: Package api :: Module base :: Class BaseApi
[hide private]
[frames] | no frames]

Class BaseApi

source code

object --+
         |
        BaseApi

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_unique_indexes(self) source code
 
_indexes(self) source code
 
clean(self)
Delete all the Objects in the database.
source code
 
insert(self, object, check_keys=False)
Insert the object document to the database
source code
 
update(self, object)
Write the object document to the database
source code
 
delete(self, **kwargs)
Delete a single stored Object
source code
 
_getcollection(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

_unique_indexes(self)

source code 
Decorators:
  • @property

_indexes(self)

source code 
Decorators:
  • @property

clean(self)

source code 

Delete all the Objects in the database. WARNING: Destructive