def _exact_phrase(phrase):
    """
    Returns a query item matching messages that have an exact phrase.

    Args:
        phrase (str): The exact phrase to match.


    Returns:
        The query string.

    """
    return f'"{phrase}"'
