Jsonargparse

Latest version: v4.34.0

Safety actively analyzes 683322 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 18

3.19.4

Not secure
--------------------

Fixed
^^^^^
- self.logger undefined on SignatureArguments (`92
<https://github.com/omni-us/jsonargparse/issues/92>`__).
- Fix linking for deep targets (`75
<https://github.com/omni-us/jsonargparse/pull/75>`__).
- Fix import_object failing with "not enough values to unpack" (`94
<https://github.com/omni-us/jsonargparse/issues/94>`__).
- Yaml representer error when dumping unregistered default path type.

3.19.3

Not secure
--------------------

Fixed
^^^^^
- add_subclass_arguments with required=False failing on instantiation (`83
<https://github.com/omni-us/jsonargparse/issues/83>`__).

3.19.2

Not secure
--------------------

Fixed
^^^^^
- add_subclass_arguments with required=False failing when not given (`83
<https://github.com/omni-us/jsonargparse/issues/83>`__).

3.19.1

Not secure
--------------------

Fixed
^^^^^
- Repeated instantiation of dataclasses (`lightning9207
<https://github.com/Lightning-AI/lightning/issues/9207>`__).

3.19.0

Not secure
--------------------

Added
^^^^^
- ``save`` now supports saving to an fsspec path (`86
<https://github.com/omni-us/jsonargparse/issues/86>`__).

Fixed
^^^^^
- Multifile save not working correctly for subclasses (`63
<https://github.com/omni-us/jsonargparse/issues/63>`__).
- ``link_arguments`` not working for subcommands (`82
<https://github.com/omni-us/jsonargparse/issues/82>`__).

Changed
^^^^^^^
- Multiple subcommand settings without explicit subcommand is now a warning
instead of exception.

3.18.0

Not secure
--------------------

Added
^^^^^
- Support for parsing ``Mapping`` and ``MutableMapping`` types.
- Support for parsing ``frozenset``, ``MutableSequence`` and ``MutableSet`` types.

Fixed
^^^^^
- Don't discard ``init_args`` with non-changing ``--*.class_path`` argument.
- Don't ignore ``KeyError`` in call to instantiate_classes (`81
<https://github.com/omni-us/jsonargparse/issues/81>`__).
- Optional subcommands fail with a KeyError (`68
<https://github.com/omni-us/jsonargparse/issues/68>`__).
- Conflicting namespace for subclass key in subcommand.
- ``instantiate_classes`` not working for subcommand keys (`70
<https://github.com/omni-us/jsonargparse/issues/70>`__).
- Proper file not found message from _ActionConfigLoad (`64
<https://github.com/omni-us/jsonargparse/issues/64>`__).
- ``parse_path`` not parsing inner config files.

Changed
^^^^^^^
- Docstrings no longer supported for python 3.5.
- Show warning when ``--*.class_path`` discards previous ``init_args``.
- Trigger error when ``parse_args`` called with non-string value.
- ActionParser accepts both title and help, title having preference.
- Multiple subcommand settings allowed if explicit subcommand given.

Page 13 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.