Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle nested arguments in the argument parser
Mostly coming from libraries such as simple-parsing, who nest the values, but this can also be done manually, so might as well account for it. Also this makes sure the values are serialisable, as JSON is very restrictive and Python doesn't allow to handle it gracefully (as in having the possibility to define how an object is serialised).
- Loading branch information
Showing
1 changed file
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters