Open o-smirnov opened 2 months ago
This would be a very cool feature but in the interest of playing Devil's advocate, is this not becoming a little arcane? Assignments already circumvent type checking (if I am not mistaken), and this means that the final configuration will become a partial combination of all the defined assignments. I wonder if we need to give further thought to what actually defines a working recipe (and whether or not assigning to things which should be inputs is sensible).
Use case (from TRON) -- we have
tron-oservation-sets.yml
specifying a whole bunch of options for observations, bands, etc. This is included into thetron
recipe viaI would like to reuse some of these settings in a smaller recipe, but this doesn't define all the inputs of
tron
, so including the same file throws "unknown assignment" errors.Suggest a sensible workaround would be:
Which would require the assign logic to recognize the
_ignore_unknown_assignments
key and disable errors.