def _call_or_raise(self, func, value, attr):
        if 1 > len(utils.get_func_args(func)):
            if self.parent.context is None:
                msg = 'No context available for Function field {0!r}'.format(attr)
                raise ValidationError(msg)
            return func(value, self.parent.context)
        else:
            return func(value)
dataset/ETHPy150Open marshmallow-code/marshmallow/marshmallow/fields.py/Function._call_or_raise/swapped operands of `>`