Required Arguments Bug Fix
Fixed a bug with nested dataclasses, where if the dataclass had a required argument the dataclass wrapper could not initialize the dataclass to define its default value and raised an exception.
@dataclass
class LogConfig:
exp_dir: str
@dataclass
class TrainConfig:
log: LogConfig= field(default_factory=LogConfig)