Jsonargparse

Latest version: v4.29.0

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

Scan your dependencies

Page 14 of 17

3.12.0

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

Added
^^^^^
- Path support for fsspec file systems using the 's' mode flag.
- set_config_read_mode function that can enable fsspec for config reading.
- Option for print_config and dump with help as yaml comments.

Changed
^^^^^^^
- print_config only added to parsers when ActionConfigFile is added.

Deprecated
^^^^^^^^^^
- set_url_support functionality now should be done with set_config_read_mode.

3.11.2

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

Fixed
^^^^^
- Link argument arrow ``<=`` can be confused as less or equal, changed to
``<--``.

3.11.1

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

Fixed
^^^^^
- add_dataclass_arguments not making parameters without default as required (`54
<https://github.com/omni-us/jsonargparse/issues/54>`__).
- Removed from signature add methods required option included by mistake.

3.11.0

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

Added
^^^^^
- CLI now has ``--config`` options at subcommand and subsubcommand levels.
- CLI now adds subcommands with help string taken from docstrings.
- print_config at subcommand level for global config with implicit subcommands.
- New Path_drw predefined type.
- Type hint arguments now support ``nargs='?'``.
- Signature methods can now skip arguments within init_args of subclasses.

Changed
^^^^^^^
- Removed skip_check from ActionPathList which was never implemented.

Deprecated
^^^^^^^^^^
- ActionPath should no longer be used, instead paths are given as type.

Fixed
^^^^^
- Actions not being applied for subsubcommand values.
- handle_subcommands not correctly inferring subsubcommand.

3.10.1

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

Changed
^^^^^^^
- fail_untyped now adds untyped parameters as type Any and if no default
then default set to None.

Fixed
^^^^^
- ``--*.help`` option being added for non-subclass types.
- Iterable and Sequence types not working for python>=3.7 (`53
<https://github.com/omni-us/jsonargparse/issues/53>`__).

3.10.0

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

Added
^^^^^
- set_defaults method now works for arguments within subcommands.
- CLI set_defaults option to allow overriding of defaults.
- CLI return_parser option to ease inclusion in documentation.
- save_path_content attribute to save paths content on config save.
- New ``link_arguments`` method to derive an argument value from others.
- print_config now includes subclass init_args if class_path given.
- Subclass type hints now also have a ``--*.help`` option.

Changed
^^^^^^^
- Signature parameters whose name starts with "_" are skipped.
- The repr of Path now has the form ``Path_{mode}(``.

Fixed
^^^^^
- CLI now does instantiate_subclasses before running.

Page 14 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.