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 51 jsonargparse issues
Sort by recently updated
recently updated
newest added

## 🐛 Bug report ### To reproduce You need a wandb account. Clone my [toy repo](https://github.com/bwdeng20/wd_swp_jsonargparse_debug) and then follow the [official wandb sweep instructions](https://docs.wandb.ai/guides/sweeps/initialize-sweeps) like the following. ```bash wandb sweep...

question

## 🚀 Feature request Provide an api like `parser.resolve_omegaconf(...)` to manually trigger the resolving on omegaconf node values. ### Motivation Current omegaconf mode has some limitations as described in the...

enhancement
pending author response

## 🐛 Bug report Hi all, I'm working on a project that utilizes this great library. However, I ran into a problem with python 3.11. ```yaml scheduler: - class_path: otx.algo.schedulers.warmup_schedulers.LinearWarmupScheduler...

bug

## 🐛 Bug report Using a [`MappingProxyType`](https://docs.python.org/3/library/types.html#types.MappingProxyType) as a read only default value for a `Mapping` parameter fails with ``` Expected a . Got value: {'parameter': 1} ``` ### To...

enhancement

## 🚀 Feature request change relative path in config from command line ### Motivation I have a set of objects defined in individual yamls and I'd like to be able...

enhancement
pending author response

## 🚀 Feature request Support YAML anchors in configs for `CLI`. ### Motivation Anchors reduce duplication of configuration values. For example (not necessarily like this): ```YAML x-common-args: &common_args a: 1...

enhancement

## What does this PR do? This PR is an initial attempt at https://github.com/omni-us/jsonargparse/issues/244 This allows a user to define a scriptconfig object that gives them fine-grained control over the...

## 🐛 Bug report I am getting an error when parsing a list of objects whose type is the union of two different `dataclass`es. ### To reproduce In `script.py` ```python...

bug

## 🐛 Bug report when use lazy_instance as default value, there is a assert cannot satisfy ```python assert name not in self.__dict__ ``` ### To reproduce 1. Using the CLI...

bug

## 🚀 Feature request Add support for `*args` arguments in `CLI` ### Motivation Currently I cannot instantiate `*args`-like arguments. For example: In `main.py` ```Python from jsonargparse import CLI class A:...

enhancement