from typing import List


def create_query(users: List[str], include_retweets=False):
    """
    Creates the query string for fetching tweets from a given list of users
    :param users: the list of users
    :param include_retweets: whether to include retweets or not
    :return: the query string
    """
    return " OR ".join(f"from:{user}" for user in users) + (" -is:retweet" if not include_retweets else "")