def METHOD_NAME(self) -> dict[str, Any]:
    if self._data is not _EMPTY:
        return {"data": f"<{type(self._data).__name__}>"}
    # the string representation of datasets leaves out __init__
    # arguments that are empty/None, equivalent here is _EMPTY
    return {"data": None}  # pragma: no cover