def METHOD_NAME(charge_edits):
    charge_dict: Dict[str, Any] = {}
    for key, value in charge_edits.items():
        if key == "disposition":
            disposition = value
            if disposition:
                charge_dict["disposition"] = DispositionCreator.create(
                    date_class.fromdatetime(datetime.strptime(disposition["date"], "%m/%d/%Y")),
                    disposition["ruling"],
                )
            else:
                charge_dict["disposition"] = None
        elif key in ("date", "probation_revoked"):
            if value:
                charge_dict[key] = date_class.fromdatetime(datetime.strptime(value, "%m/%d/%Y"))
        elif key == "edit_status":
            charge_dict[key] = EditStatus(value)
        else:
            charge_dict[key] = value
    return charge_dict