jsonargparse icon indicating copy to clipboard operation
jsonargparse copied to clipboard

Implement minimal boilerplate CLIs derived from type hints and parse from command line, config files and environment variables

Results 78 jsonargparse issues
Sort by recently updated
recently updated
newest added

## 🚀 Feature request Support the ability to configure a function's arguments as a group. I will give an example of how this might look, to explain it further, I'm...

enhancement
pending author response

## 🐛 Bug report If I specify a default value for a `Path_fr` parameter, the validation ignores it. This is pretty weird because clearly the value is present and used...

enhancement

## 🚀 Feature request I would like a way for a class to have programatic mechanism such that a developer can tell jsonargparse what it's signature is and so they...

enhancement

`jsonargparse` has a few deliberate deviations with respect to `argparse`. However, there are some differences which are not needed and it is preferable to remove them to stay more aligned...

enhancement
refactor

- jsonargparse when installed without any optional dependencies, the default parser mode would use json - if pyyaml is installed, the default parser mode becomes yaml - for backward compatibility,...

enhancement
refactor

## 🚀 Feature request Hi, Thanks for this tool. The Python language steering council has accepted PEP 680, which adds a TOML parser to the Python standard library. I was...

enhancement

## 🐛 Bug report ### To reproduce I have these classes,both `A` and `B` are inherited from `Base`,`C` is inherited from `pydantic.BaseModel` (dataclass-like class): ```python from typing import Union from...

enhancement

If I have a CLI implementation (`before.py`) with a `Foo.a` argument ```python class Foo: def __init__(self, a=2): ... def fn(foo: Foo = Foo()): ... from jsonargparse import ArgumentParser, ActionConfigFile parser...

question

## 🐛 Bug report When instantiating objects from a custom class where a default is specified in the signature, jsonargparse infers the defaults from the the wrong class: ### To...

enhancement

This is a minimal reproduction. If I have this Python code which implements `jsonargparse.ArgumentParser` ```python # test.py from lightning.pytorch.cli import LRSchedulerCallable, ReduceLROnPlateau from jsonargparse import ArgumentParser, ActionConfigFile class Model: def...

bug