Mauricio Villegas
Mauricio Villegas
Now I added a colored compact view to have both options proposed in #529.
We have identified some bugs, so changing this to draft.
@seperman I have fixed the bugs that we had noticed. You can review now.
Pull request https://github.com/omni-us/jsonargparse/pull/817 implements a public interface to enable subclasses for dataclasses and pydantic models. Using this so that explicit classes are provided via class_path might be preferable than the...
With the code in the original description and the latest main commit, using arguments `["--cfg=A", "--cfg.foo=1"]` and `["--cfg=B", "--cfg.foo=1", "--cfg.bar=2"]` correctly select `A` and `B` classes respectively. Though, when serialized...
> Maybe when serializing if there is a union of classes, then class_path should be included. But I need to see if this would cause any breaking changes. I have...