Piccolo

Latest version: v1.22.0

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

Scan your dependencies

Page 32 of 53

0.22.0

Not secure
------
* An error is now raised if a user tries to create a Piccolo app using
``piccolo app new`` with the same name as a builtin Python module, as it
will cause strange bugs.
* Fixing a strange bug where using an expression such as
``Concert.band_1.manager.id`` in a query would cause an error. It only
happened if multiple joins were involved, and the last column in the chain
was ``id``.
* ``where`` clauses can now accept ``Table`` instances. For example:
``await Band.select().where(Band.manager == some_manager).run()``, instead
of having to explicity reference the ``id``.

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

0.21.2

Not secure
------
Fixing a bug with serialising ``Enum`` instances in migrations. For example:
``Varchar(default=Colour.red)``.

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

0.21.1

Not secure
------
Fix missing imports in FastAPI and Starlette app templates.

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

0.21.0

Not secure
------
* Added a ``freeze`` method to ``Query``.
* Added BlackSheep as an option to ``piccolo asgi new``.

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

0.20.0

Not secure
------
Added ``choices`` option to ``Column``.

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

0.19.6

------
Fixes for ``Table`` classes which have custom primary key columns.

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

Page 32 of 53

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.