def METHOD_NAME(self) -> QueryString:
    values = self.values
    if isinstance(values, Undefined):
        raise ValueError("values is undefined")
    template = ", ".join("{}" for _ in values)
    return QueryString(template, *values)