def METHOD_NAME(self):
    return {
        "num_top_classes": self.num_top_classes,
        "value": self.value,
        "color": self.color,
        "selectable": self.selectable,
        **IOComponent.METHOD_NAME(self),
    }