def _serialize(self, value, attr, obj):
        try:
            return self._call_or_raise(self.serialize_func, obj, attr)
        except __HOLE__:  # the object is not expected to have the attribute
            pass
        return missing_
dataset/ETHPy150Open marshmallow-code/marshmallow/marshmallow/fields.py/Function._serialize