def get_query(path: str = "../data/my_food.txt") -> str:
    """
    Used to get a comma-separated string of ingredients from a file to use as a query
    for Spoonacular's API (assuming defaults in this script are used). The type of data
    used here can vary depending on which Spoonacular endpoint the user wishes to query.
    """
    with open(path, "r") as file:
        query = file.read()

    return query