def __call__(self, parameters):
        if self.can_handle(parameters):
            return Just(self.get_action(parameters))
        else:
            return Nothing
Temporary magic method to treat this factory as a function
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/rules/factory.py/SubActionFactory.__call__