Piccolo

Latest version: v1.5.0

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

Scan your dependencies

Page 34 of 48

0.14.7

Not secure
------
* Added missing type annotation for ``run_sync``.
* Updating type annotations for column default values - allowing callables.
* Replaced instances of ``asyncio.run`` with ``run_sync``.
* Tidied up aiosqlite imports.

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

0.14.6

Not secure
------
* Added JSON and JSONB column types, and the arrow function for JSONB.
* Fixed a bug with the distinct clause.
* Added ``as_alias``, so select queries can override column names in the
response (i.e. SELECT foo AS bar from baz).
* Refactored JSON encoding into a separate utils file.

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

0.14.5

Not secure
------
* Removed old iPython version recommendation in the ``piccolo shell run`` and
``piccolo playground run``, and enabled top level await.
* Fixing outstanding mypy warnings.
* Added optional requirements for the playground to setup.py

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

0.14.4

Not secure
------
* Added ``piccolo sql_shell run`` command, which launches the psql or sqlite3
shell, using the connection parameters defined in ``piccolo_conf.py``.
This is convenient when you want to run raw SQL on your database.
* ``run_sync`` now handles more edge cases, for example if there's already
an event loop in the current thread.
* Removed asgiref dependency.

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

0.14.3

Not secure
------
* Queries can be directly awaited - ``await MyTable.select()``, as an
alternative to using the run method ``await MyTable.select().run()``.
* The ``piccolo asgi new`` command now accepts a ``name`` argument, which is
used to populate the default database name within the template.

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

0.14.2

Not secure
------
* Centralised code for importing Piccolo apps and tables - laying the
foundation for fixtures.
* Made orjson an optional dependency, installable using
``pip install piccolo[orjson]``.
* Improved version number parsing in Postgres.

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

Page 34 of 48

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.