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

**Is your feature request related to a problem? Please describe.** Currently, YAML config files are not understood by YAML language servers, and hence auto completion or type checking are not...

enhancement
help wanted
good first issue
Not critical

**Describe the bug** If I have: ``` @dataclass class OptimizerParams: name: str = "AdamW" params: Dict[str, Any] = dict_field( dict( # learning rate lr=3e-4, ) ) ``` and in a...

bug

[attrs](https://www.attrs.org/en/stable/) is a popular third-party package for defining dataclasses with additional convenient features (converters, more fine-grained initialization, etc.). Currently `simple-parsing` only supports native dataclasses, is there any interest to support...

**Describe the bug** Builtin classes and enums are able to be set as default values in optional fields. `dataclass`es are not and the default value is replaced with a `None`....

Hello, it would be great if we could add support to pass a List of dataclasses: ```python @dataclass class ExperimentParams(Serializable): @dataclass class LayerParams: name: str loss_scale: float = 1.0 target_layers:...

**Describe the bug** The behavior of `parser.print_help `is different after calling `parser.parse_known_args()`, but it behaves correctly when calling the superclass (`argparse.ArgumentParser`) version of the function. **To Reproduce** ```python # issue.py...

**Describe the bug** I've really been loving using simple-parsing in my projects. It looks like you are trying to maintain compatibility with hugging faces dataclass #172. One use case I've...

[#241] fixes the issue where defaults from the config path were not being passed when using subparsers (field_wrapper.py). Additionally fixes an issue where subdataclasses were requiring every value to be...

**Describe the bug** The default parsing logic seems to want to call asdict on a dataclass field even if it has a registered decoding function: **To Reproduce** ```python def test_parse_helper_uses_custom_decoding_fn():...