Andrew Liounis
Andrew Liounis
Hey, thanks for the response. I was debugging fortran and perhaps this was part of the issue; however, I did as you said and the exact issue I am having...
After some investigating, I can confirm that adding ``` if isinstance(self.default, dict) and self.default.get(subcommand, None) is not None: subparser.add_arguments(dataclass_type, dest=self.dest, default=dataclass_type(**self.default.get(subcommand))) else: subparser.add_arguments(dataclass_type, dest=self.dest) ``` right after https://github.com/lebrice/SimpleParsing/blob/master/simple_parsing/wrappers/field_wrapper.py#L1033 produces the...
I submitted the above PR. This also grabs a second bug fix where subdataclasses had to be fully specified int he config file or not at all (partial specification was...
I can try to add a few unit tests but it probably won't be till later this week. Did the existing tests all pass before (it looks like at least...
It looks like htis also might be an issue for other TIME_CFG_SRC selections