Make key in cfg
return True
whenever key
is an interpolation (even when its resolution fails)
#562
Milestone
key in cfg
return True
whenever key
is an interpolation (even when its resolution fails)
#562
Is your feature request related to a problem? Please describe.
Currently,
key in cfg
can be False ifkey
is an interpolation to a missing node (i.e., set to"???"
) or a node that does not exist.This can be dangerous as users may believe a key was not defined in the config while it was. This is also inconsistent with #543, which makes it so that an interpolation to a missing node isn't missing anymore.
Describe the solution you'd like
Instead, make it return True for all interpolations (regardless of whether or not they can be resolved).
Additional context
This is resolved by #545. Creating this issue to keep track of the change.
The text was updated successfully, but these errors were encountered: