def METHOD_NAME(self, key, alias, values):
    """
    Returns part of HTTP GET query for querying string fields.
    """
    if not isinstance(values, str) and not isinstance(values, int):
        raise ValueError(f"incorrect value for keyword '{alias}' -- only strings and integers are accepted")
    return f'{key}={values}'