Simpletype

Latest version: v0.2.6

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

Scan your dependencies

Page 1 of 2

0.2.6

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Minor Improvements**

- Ensure the result of ``BaseType.to_dict`` is always json serializable.
- The parameter for ``BaseType.from_dict`` is always json serializable:
- For ``Binary`` type, ``default_for_null`` should be base64 encoded string.
- For ``Datetime`` type, ``default_for_null`` should be string in ISO format.

0.2.5

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Minor Improvements**

- Add the missing ``BaseType.to_dict`` method.
- Improved the ``BaseType.from_dict`` method.

0.2.4

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Minor Improvements**

- Add ``precision`` parameter to ``Float`` and ``Double`` type.

0.2.3

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Minor Improvements**

- Add ``precision`` parameter to ``Float`` and ``Double`` type.

0.2.2

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Bugfixes**

- Fix a bug that the ``Set`` type cannot handle ``TinyInt``, ``SmallInt``, ``BigInt`` and ``Double``, ``Decimal`` item types.

0.2.1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Features and Improvements**

- Add the following public APIs:
- ``simpletype.api.AwsDynamoDBTypeEnum``
- ``simpletype.api.AwsGlueTypeEnum``
- ``simpletype.api.SparkTypeEnum``
- ``simpletype.api.polars_type_to_simple_type``

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.