Jsonargparse

Latest version: v4.34.0

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

Scan your dependencies

Page 3 of 18

4.27.5

--------------------

Fixed
^^^^^
- Importable class instances fail to parse and serialize (`446
<https://github.com/omni-us/jsonargparse/issues/446>`__).
- Failure when trying to pickle instances created with ``lazy_instance``.
- Confusing error message when creating a link with a target that is already a
target of another link.

4.27.4

--------------------

Fixed
^^^^^
- ``argcomplete`` not working when type and choices given (`442
<https://github.com/omni-us/jsonargparse/issues/442>`__).
- Confusing error message when ``CLI`` is used with a class that defines a
``subcommand`` method (`430 comment
<https://github.com/omni-us/jsonargparse/issues/430#issuecomment-1903974112>`__).
- ``CLI`` crashes when a method has a ``config`` parameter. Due to redundancy,
``--config`` argument should not be added.

4.27.3

--------------------

Fixed
^^^^^
- Argument links not working for target ``init_args`` in an optional list (`433
<https://github.com/omni-us/jsonargparse/issues/433>`__).
- Signature parameter default that doesn't match its type failing on
instantiation and serialization (`lightning19289 comment
<https://github.com/Lightning-AI/pytorch-lightning/pull/19289#issuecomment-1902618722>`__).

4.27.2

--------------------

Fixed
^^^^^
- reconplogger's logger level being unexpectedly overwritten.
- Signature parameter default value that doesn't match its type considered
invalid (`lightning19289 comment
<https://github.com/Lightning-AI/pytorch-lightning/pull/19289#issuecomment-1894063743>`__).

4.27.1

--------------------

Fixed
^^^^^
- Confusing error message when adding signature parameters that conflict with
existing arguments.
- Deprecation warnings not printing the correct file and line of code.
- ``sub_configs=True`` not working for callable types that return a class (`419
<https://github.com/omni-us/jsonargparse/issues/419>`__).

4.27.0

--------------------

Added
^^^^^
- Support for pydantic's ``SecretStr`` type.
- New ``SecretStr`` type in ``jsonargparse.typing`` to provide secret support
without additional dependency.

Fixed
^^^^^
- Links applied on parse failing when source is a class with a nested callable.

Page 3 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.