def _get_routes_group_by_type(self, type: AttributeType):
        """Utility method to facilitate getting the routes by type."""
        return {
            AttributeType.SUGGESTION: self.suggestion,
            AttributeType.RESPONSE: self.response,
            AttributeType.FIELD: self.field,
            AttributeType.METADATA: self.metadata,
            AttributeType.VECTOR: self.vector,
            AttributeType.ID: self.id,
        }[type]
Utility method to facilitate getting the routes by type.
argilla/src/argilla/records/_mapping/_routes.py