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
Better behavior is to make the target list missing.
In [1]: fromomegaconfimportListConfig, OmegaConfIn [2]: l1=ListConfig([1,2,3])
In [3]: l2=ListConfig("???")
In [4]: OmegaConf.merge(l1, l2)
...
MissingMandatoryValue: CannotiterateamissingListConfigfull_key:
reference_type=Optional[List[Any]]
object_type=list
desired:
In [1]: fromomegaconfimportListConfig, OmegaConfIn [2]: l1=ListConfig([1,2,3])
In [3]: l2=ListConfig("???")
In [4]: OmegaConf.merge(l1, l2)
Out[4]: '???'# <- this is a ListConfig, not a string
The text was updated successfully, but these errors were encountered:
Better behavior is to make the target list missing.
desired:
The text was updated successfully, but these errors were encountered: