Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-10 08:39:01

0001 """
0002 Dummy plugin of Adder for VOs which don't need DDM access
0003 
0004 """
0005 
0006 from .adder_plugin_base import AdderPluginBase
0007 
0008 
0009 class AdderDummyPlugin(AdderPluginBase):
0010     """
0011     Dummy plugin of Adder for VOs which don't need DDM access.
0012     """
0013     # constructor
0014     def __init__(self, job, **params):
0015         """
0016         Initialize the AdderDummyPlugin.
0017 
0018         :param job: The job object.
0019         :param params: Additional parameters.
0020         """
0021         AdderPluginBase.__init__(self, job, params)
0022 
0023     # main
0024     def execute(self):
0025         """
0026         Execute the dummy adder plugin.
0027 
0028         :return: Status code indicating success.
0029         """
0030         self.result.set_succeeded()
0031         return