Structured-data

Latest version: v0.13.0

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

Scan your dependencies

Page 2 of 3

0.10.0

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

Changed
~~~~~~~

- Actually, the facade was working, I was just confused. Restored the facade.

0.9.0

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

Changed
~~~~~~~

- Removed the facade.
- Added stability guarantee to Ctor.

0.8.0

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

Changed
~~~~~~~

- Rewrote the facade.

0.7.0

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

Changed
~~~~~~~

- Tried to put up a facade for type analysis. It didn't work.

0.6.1

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

Added
~~~~~

- ``Bind`` class for attaching extra data to a match structure.
- PEP 561 support.

Changed
~~~~~~~

- As-patterns are now formed with indexing instead of the ` operator.
- ``AttrPattern`` and ``DictPattern`` now take keyword arguments instead of a ``dict`` argument, and form new versions of themselves with an ``alter`` method.
- Actually. Change ``DictPattern`` back, stop trying to keep these things in synch.

0.6.0

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

Added
~~~~~

- ``AttrPattern`` and ``DictPattern`` classes that take a ``dict`` argument and perform destructuring match against arbitrary objects, and mappings, respectively.

Changed
~~~~~~~

- Added special handling for matching AsPatterns against different AsPatterns. This is subject to change, as it's definitely an edge case.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.