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
When an omegaconf structured config is created from a subclass of a dataclass, the config is not initialized with the default values from the subclass; instead the default values from the superclass are used.
As of this commit, the following two tests are failing:
```
pytest tests/structured_conf/test_structured_config.py -k 'dataclasses-dict_overwrite_missing'
pytest tests/structured_conf/test_structured_config.py -k 'dataclasses-list1_overwrite_missing'
```
Describe the bug
When an omegaconf structured config is created from a subclass of a dataclass, the config is not initialized with the default values from the subclass; instead the default values from the superclass are used.
To Reproduce
This is a
dataclass
issue; when usingattr
classes instead ofdataclasses
, there is no bug.Additional context
The text was updated successfully, but these errors were encountered: