示例#1
0
文件: base.py 项目: akinsWin/watcher
    def __init__(self, config, context=None, applier_manager=None):
        """Constructor

        :param config: A mapping containing the configuration of this
                       workflow engine
        :type config: dict
        :param osc: an OpenStackClients object, defaults to None
        :type osc: :py:class:`~.OpenStackClients` instance, optional
        """
        super(BaseWorkFlowEngine, self).__init__(config)
        self._context = context
        self._applier_manager = applier_manager
        self._action_factory = factory.ActionFactory()
        self._osc = None
示例#2
0
 def __init__(self, context=None, applier_manager=None):
     self._context = context
     self._applier_manager = applier_manager
     self._action_factory = factory.ActionFactory()
     self._osc = None