def METHOD_NAME(self, obj) -> Dict[str, str]:
    extra_labels = self._getitem(obj, 'extra_labels')
    if extra_labels:
        return {label['key']: label['value'] for label in extra_labels}
    return {}