Typical

Latest version: v2.8.1

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

Scan your dependencies

Page 2 of 12

2.7.7

2.7.6

NamedTuple objects were improperly treated as a simple builtin subtype when coercing user-defined types, which resulted in unexpected behavior. This fixes deserialization logic to use the standard translator protocol for named tuples.

2.7.5

Derived classes of a `typic.klass` object were improperly recognized as a simple Iterable.

This caused a recursion error when attempting to serialize these objects, since the `__iter__` magic method relies upon the iterator factory, but the iterator factory simply called the `__iter__` magic method.

Resolves 185

2.7.4

Fixes
- 183

Misc
- Expose `always` param in the `typic.al` decorator.

2.7.3

Fixes:
- Support `collections.deque` as Array constraint (resolves 181)
- Fix union constraints generation on stable py3.10 release.

Misc:
- Extend DSN support for sqlite urls.

2.7.2

Fixes
- Nested mappings with exactly two keys could be improperly deserialized (179)
- Early return with stdlib `get_tojson` meant we weren't properly bootstrapping docs.

Improvements
- `asyncpg.Record` objects are now recognized as a Mapping type.

Page 2 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.