def add_route(self, attribute_route: AttributeRoute) -> None:
        """Utility method to get a new mapping route"""
        if attribute_route.type == AttributeType.ID:
            self.id = attribute_route
        else:
            self._get_routes_group_by_type(attribute_route.type)[attribute_route.name] = attribute_route
Utility method to get a new mapping route
argilla/src/argilla/records/_mapping/_routes.py