You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CLI: include input.yaml config values in workflow describe output #12
It doesn't report what they're set to. A UI (e.g. ResInsight) wants to pre-fill its editor with the values the user already has in input.yaml. Today it has to parse the YAML itself and repeat taskmaestro's per-task config lookup logic. The model defaults in input_schema don't help here, because they're the defaults, not the user's values.
Proposal
Add a config_values object to each task, next to provided_config_fields. It's null when --input isn't given, the same as provided_config_fields.
Values are exactly what's written in input.yaml for that task, after taskmaestro's per-task lookup but before Pydantic validation. That way opaque or runtime-only types (such as marker dicts) come through unchanged, and the command never has to build Python objects.
They're converted to JSON: dates and datetimes become ISO 8601 strings, and paths become strings.
Only fields in provided_config_fields appear in config_values. Anything else falls back to input_schema.properties.<field>.default.
Alternative I'd avoid
Putting the values into input_schema as default would mix up the model's defaults with the user's input.
Activity