math.py 189 Bytes
Newer Older
Wout De Nolf's avatar
Wout De Nolf committed
1
2
3
4
5
6
7
8
from dahu.plugin import Plugin
from dahu.factory import register


@register
class AddNumbers(Plugin):
    def process(self):
        self.output["sum"] = self.input["a"] + self.input["b"]