Piccolo

Latest version: v1.22.0

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

Scan your dependencies

Page 5 of 53

1.5.1

-----

Fixed a bug with the CLI when reversing migrations (thanks to metakot for
reporting this).

Updated the ASGI templates (thanks to tarsil for adding Lilya).

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

1.5.0

-----

Lots of internal improvements, mostly to support new functionality in Piccolo
Admin.

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

1.4.2

-----

Improved how ``ModelBuilder`` handles recursive foreign keys.

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

1.4.1

-----

Fixed an edge case with auto migrations.

If starting from a table like this, with a custom primary key column:

.. code-block:: python

class MyTable(Table):
id = UUID(primary_key=True)

When a foreign key is added to the table which references itself:

.. code-block:: python

class MyTable(Table):
id = UUID(primary_key=True)
fk = ForeignKey("self")

The auto migrations could fail in some situations.

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

1.4.0

-----

Improved how ``create_pydantic_model`` handles ``Array`` columns:

* Multidimensional arrays (e.g. ``Array(Array(Integer))``) have more accurate
types.
* ``Array(Email())`` now validates that each item in the list is an email
address.
* ``Array(Varchar(length=10))`` now validates that each item is the correct
length (i.e. 10 in this example).

Other changes
~~~~~~~~~~~~~

Some Pylance errors were fixed in the codebase.

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

1.3.3

-----

Fixed a bug with array inputs in custom forms (thanks to sinisaos for this).

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

Page 5 of 53

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.