def METHOD_NAME(self):
    """Get model parameters that are sufficient to recapitulate it."""
    params = {}
    for attr in dir(self):
        # Do not save properties
        if (hasattr(type(self), attr) and
                isinstance(getattr(type(self), attr), property)):
            continue
        if (not attr.startswith("__") and
                attr.endswith("_") and
                not callable(getattr(self, attr))):
            params[attr] = getattr(self, attr)
    return params