Piccolo

Latest version: v1.5.0

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

Scan your dependencies

Page 1 of 48

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.2

-----

Fixed a bug with nested array columns containing ``BigInt``. For example:

.. code-block:: python

class MyTable(Table):
my_column = Array(Array(BigInt))

Thanks to AmazingAkai for reporting this issue.

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

1.3.1

-----

Fixed a bug with the bulk update button not being translated.

Thanks to jrycw for reporting the issue, and sinisaos for the fix.

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

Page 1 of 48

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.