Datalite

Latest version: v0.7.3

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

Scan your dependencies

Page 1 of 4

0.7.32

* Add bool support (added by mbyzhang)

0.7.2

Add some protection against SQL injections in field values, this does not apply to class names which should be under the programmer's controller.

0.7.1

Not secure
Fixes

Removed a forgotten ``print`` statement that printed unnecessary information.

0.7.0

Not secure
New Features

* Add ``datalite.mass_actions.copy_many`` which allows one to save numerous objects to *another* database
* Functions of ``datalite.mass_actions`` module now issue a ``ResourceWarning`` when memory safety options are toggled off.

Changes

* Rename ``datalite.mass_actions.create_many_entries`` to ``datalite.mass_actions.create_many``
* Exception ``MalformedContainerError`` split to two new exceptions, ``HeterogeneousCollectionError`` when given container isn't heterogeneous and a ``ValueError`` when an empty list is passed.

Altered Behaviour

* Function ``datalite.mass_actions.is_homogenous`` depacrated in favour of private function ``datalite.mass_actions._check_homogeniety``, which throws the affromentioned ``HeterogeneousCollectionError`` if the passed container is not homogenous.
* Behaviour of homogeneity checks is altered, now a list (or a tuple) is deemed homogeneous even if one of the later elements of the list is a superclass of the class of the first element of the list.

0.6.0

Not secure
* Significantly faster mass create as well as even faster if ``memory_safety`` is switched to false.

0.5.10

Not secure
* Add ``datalite.mass_actions`` module that can be used to insert many objects at once and similar.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.