Configurator

Latest version: v3.2.0

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

Scan your dependencies

Page 2 of 3

2.4.0

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

- Allow the list of values considered false by :meth:`if_supplied` to be specified.

- :meth:`if_supplied` no longer considers ``False`` to be false, as when present, that's
often an explicitly provided value.

2.3.0

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

- :class:`Config` instances can now be pickled.

2.2.0

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

- :func:`value` has been added to allow literal values to be used in the left
side of mappings passed to :meth:`Config.merge`.

2.1.0

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

- Configuration values my now be set using attribute or item setting on
:class:`~.node.ConfigNode` instances.

- :meth:`~.node.ConfigNode.node` can be used to obtain or create a
:class:`~.node.ConfigNode` from a dotted path and will give you a node even
for a value of a :class:`dict` or item in a :class:`list`.

- :class:`~.node.ConfigNode` instances now have a :meth:`~.node.ConfigNode.set`
method that can be used to replace the value of that part of the configuration,
regardless of whether it is a container, list item or dictionary value.

2.0.0

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

- Performance improvements when import parsers.

- Removed the ability to provide new parsers using `pkg_resources`
entry points.

1.3.0

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

- Add :meth:`Config.from_env` class method to help with extacting
large numbers of environment variables into configuration.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.