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
This creates a dependency on OmegaConf from the user dataclasses.
A better approach is to allow constructing OmegaConf configs from values that just does not specify the default value and convert it automatically to omegaconf.MISSING when constructing the config object to maintain the semantics.
@dataclassclassUser:
name: str
The text was updated successfully, but these errors were encountered:
omry
changed the title
Consider support for dataclass fields without a value to indicate MISSING
Feature: dataclass fields without a value can automatically indicate MISSING
Sep 29, 2020
An historical decision was to enforce the usage of omegaconf.MISSING to indicate that a value is missing.
This creates a dependency on OmegaConf from the user dataclasses.
A better approach is to allow constructing OmegaConf configs from values that just does not specify the default value and convert it automatically to omegaconf.MISSING when constructing the config object to maintain the semantics.
The text was updated successfully, but these errors were encountered: