Package web :: Package plugins :: Package plugins :: Module plugin :: Class PluginBase
[hide private]
[frames] | no frames]

Class PluginBase

object --+
         |
        PluginBase

Plugin base class. Each plugin should inheritance from this class

Instance Methods [hide private]
 
GET(self, *args, **kwargs)
 
POST(self, *args, **kwargs)
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
_parse_file(self, path='plugin.conf')
Parses plugin conf file and set all values as object attributes.
 
default_response(self, *args, **kwargs)
 
get_dep(self)
 
set_dep(self, depstr)

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

Properties [hide private]
  depend

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

 

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

Overrides: object.__init__
(inherited documentation)

_parse_file(self, path='plugin.conf')

 

Parses plugin conf file and set all values as object attributes.

If path isn't specified, plugin.conf is used


Property Details [hide private]

depend

Get Method:
get_dep(self)
Set Method:
set_dep(self, depstr)