import requests
import csv


def download_cereals(_):
    """Example of a Dagster solid that returns a list of objects."""
    response = requests.get("https://docs.dagster.io/assets/cereal.csv")
    lines = response.text.split("\n")
    return list(csv.DictReader(lines))