from typing import Any


def make_csv_row(consumption_data: Any) -> str:
    """Make a CSV row string from a consumption_data key"""
    return ", ".join(
        (
            consumption_data["from"],
            str(consumption_data["energy"]),
            str(consumption_data["cost"]),
            str(consumption_data["partial"]),
            str(consumption_data["estimated"]["energy"]),
            str(consumption_data["estimated"]["cost"]),
        )
    )