pub fn to_reported(value: &Value, ty: &TypeDesc) -> Result<Value, Misfit>
A value reported from outside Python (schedr task-ctx resource set), in the form it is stored in: as to_stored, and a dataclass gives every field, since nothing fills in its defaults before a command reads the value (t"{cluster.value.region}").
schedr task-ctx resource set
to_stored
t"{cluster.value.region}"
As to_stored, and a dataclass field left out.