def normalize_type(cls, v):
        """
        Normalize the type string by removing extra spaces around '<', '>', and ', '
        """
        normalized_type = re.sub(r'\s*<\s*', '<', v)
        normalized_type = re.sub(r'\s*>\s*', '>', normalized_type)
        normalized_type = re.sub(r'\s*,\s*', ', ', normalized_type)
        return normalized_type

        Normalize the type string by removing extra spaces around '<', '>', and ', '
        
src/marqo/core/models/marqo_index_request.py