89048121911b3a6f0b7bf0469e8d6faac602ef67
[ccsdk/cds.git] /
1 from abstract_blueprint_function import AbstractPythonComponentFunction
2 from blueprint_constants import *
3
4
5 class SamplePythonComponentNode(AbstractPythonComponentFunction):
6
7     def __init__(self):
8         AbstractPythonComponentFunction.__init__(self)
9
10     def process(self, execution_request):
11         AbstractPythonComponentFunction.process(self, execution_request)
12         print "Processing calling..." + PROPERTY_BLUEPRINT_BASE_PATH
13         return None
14
15     def recover(self, runtime_exception, execution_request):
16         AbstractPythonComponentFunction.recover(self, runtime_exception, execution_request)
17         print "Recovering calling..." + PROPERTY_BLUEPRINT_BASE_PATH
18         return None