__init__(self,
decorated_object=None,
categories_filter={'Default': <class 'yapsy.IPlugin.IPlugin'>},
directories_list=['/home/thibauld/src/yapsy/yapsydir/trunk/yapsy'],
plugin_info_ext='yapsy-plugin')
(Constructor)
| source code
|
Mimics the PluginManager's __init__ method and wraps an
instance of this class into this decorator class.
- If the decorated_object is not specified, then we use the
PluginManager class to create the 'base' manager, and to do
so we will use the arguments: categories_filter,
directories_list, and plugin_info_ext or their
default value if they are not given.
- If the decorated object is given, these last arguments are
simply ignored !
All classes (and especially subclasses of this one) that want
to be a decorator must accept the decorated manager as an
object passed to the init function under the exact keyword
decorated_object.
- Overrides:
object.__init__
|