Convert scripts to python3
[ccsdk/cds.git] / components / scripts / python / ccsdk_blueprints / sample_ra_processor_function.py
1 from .abstract_ra_processor import AbstractRAProcessor
2 from .blueprint_constants import *
3
4
5 class SampleRAProcessorFunction(AbstractRAProcessor):
6
7     def process(self, resource_assignment):
8         print("Processing calling.." + PROPERTY_BLUEPRINT_BASE_PATH)
9         self.set_resource_data_value(resource_assignment, "")
10         return None
11
12     def recover(self, runtime_exception, resource_assignment):
13         print("Recovering calling.." + PROPERTY_BLUEPRINT_BASE_PATH)
14         return None