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
Describe the bug
DictConfig with None as value does not get treated as None
side note: OmegaConf.create(None) == None returns True, but itsn't a valid way to solve the problem cause that triggers flake8 and such...
To Reproduce
print(OmegaConf.create(None) is None) # returns False
Expected behavior
print(OmegaConf.create(None) is None) # returns True
Additional context
OmegaConf version: 2.3.0
Python version: 3.9.0
Operating system:Ubuntu 22.04.4 LTS
Please provide a minimal repro
from omegaconf import OmegaConf
print(OmegaConf.create(None) is None) # False
The text was updated successfully, but these errors were encountered:
Describe the bug
DictConfig with None as value does not get treated as None
side note:
OmegaConf.create(None) == None
returnsTrue
, but itsn't a valid way to solve the problem cause that triggers flake8 and such...To Reproduce
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: