Thriftrw

Latest version: v1.9.0

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

Scan your dependencies

Page 13 of 14

0.5.0

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

- Core modules have been cythonized for additional performance improvements.
- **Breaking** All custom exceptions are exported by the ``thriftrw.errors``
module only. This includes ``ThriftProtocolError`` and ``EndOfInputError``.
- ``UnknownExceptionError`` is now raised if an unrecognized exception is
encountered while parsing service method responses.

0.4.2

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

- Lists and sets now allow arbitrary iterables as input.
- Lists may be used to provide default values for sets.

0.4.1

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

- Now uses ``io.BytesIO`` for speed improvements in Python 2.
- Fixed a bug which allowed empty responses for non-void methods.
- Fixed a bug which caused the ``eq`` methods for structs, unions, and
exceptions to raise ``AttributeError`` if the value being compared was of the
wrong type.

0.4.0

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

- Added an option to disable "required/optional" strictness on structs.
- Added ``to_primitive`` and ``from_primitive`` methods to generated types to
allow converting struct, union, and exception values to and from primitive
representations.
- Added a ``validate`` method to all ``TypeSpecs``.
- Changed to perform validation during struct, union, or exception construction
instead of performing it during serialization.
- Allow unicode to be passed for ``binary`` types.

0.3.3

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

- Default values for binary fields are no longer unicode.

0.3.2

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

- Backwards compatibility for Python 2.7.6 and earlier due to Python 19099.

Page 13 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.