def _serialize(self, value, attr, obj):
        if not self.serialize_method_name:
            return missing_

        method = utils.callable_or_raise(
            getattr(self.parent, self.serialize_method_name, None)
        )
        try:
            return method(obj)
        except __HOLE__:
            pass
        return missing_
dataset/ETHPy150Open marshmallow-code/marshmallow/marshmallow/fields.py/Method._serialize