jsonargparse
jsonargparse copied to clipboard
Implement minimal boilerplate CLIs derived from type hints and parse from command line, config files and environment variables
## 🚀 Feature request Thanks for this awesome library! I would like the following simple example to work: ```python import jsonargparse from dataclasses import dataclass @dataclass class Bar: x: int...
## 🐛 Bug report The type for DictComponentsType doesn't allow the `"_help": str` entry: ```python ComponentType = Union[Callable, Type] DictComponentsType = Dict[str, Union[ComponentType, "DictComponentsType"]] ``` ### To reproduce ```python from...
## 🚀 Feature request Add option to generate a json schema alongside the json file when calling `jsonargparse.ArgumentParser.save` and link to that schema file in the default config json file...
## 🚀 Feature request Functions that correctly implement a callable protocol should be considered as implementing said protocol when checking for subtypes / protocol implementations. [First mentioned here](https://github.com/omni-us/jsonargparse/pull/599). ### Motivation...