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
Similar to .get, it would be great if .select can support default values.
from omegaconf import OmegaConf
conf = OmegaConf.create({"a": {"b": 1}})
print(conf.select("a.c", 2)) # Possibly return 2; but is conflicted with throw_on_missing as well
The text was updated successfully, but these errors were encountered:
Similar to .get, it would be great if .select can support default values.
The text was updated successfully, but these errors were encountered: