SimpleParsing icon indicating copy to clipboard operation
SimpleParsing copied to clipboard

Simple, Elegant, Typed Argument Parsing with argparse

Results 76 SimpleParsing issues
Sort by recently updated
recently updated
newest added

The parser throws an invalid value error if you try to set a dataclass attribute e.g. of type `int | None` to an `int` when the default value in the...

I have a code like: ```python @dataclasses.dataclass class Args: model_cls: type[Model] = Transformer ``` I would like to support this through CLI. I have a mapping `str -> type[Model]`, such...

- Remove unused files. - Manage test-dependencies via poetry. > **_NOTE:_** The huge diff in the `poetry.lock` is a result of `orion` and `kaleido`.

**Is your feature request related to a problem? Please describe.** As far as I know, when using composition dataclasses, I can only specify the full destination structure in the config...

**Describe the bug** Subgroups work if parameters are provided as CLI args, but it fails if the same parameter is passed through a config file. See below: **To Reproduce** ```python...

- [X] Add test to repro #322 - [ ] Fix the issue