piccolo 1.5.0__tar.gz → 1.5.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {piccolo-1.5.0 → piccolo-1.5.1}/PKG-INFO +2 -2
- {piccolo-1.5.0 → piccolo-1.5.1}/README.md +1 -1
- piccolo-1.5.1/piccolo/__init__.py +1 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/new.py +1 -0
- piccolo-1.5.1/piccolo/apps/asgi/commands/templates/app/_lilya_app.py.jinja +45 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/app.py.jinja +2 -0
- piccolo-1.5.1/piccolo/apps/asgi/commands/templates/app/home/_lilya_endpoints.py.jinja +21 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/home/endpoints.py.jinja +2 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/home/templates/home.html.jinja_raw +5 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/commands/backwards.py +6 -4
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo.egg-info/PKG-INFO +2 -2
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo.egg-info/SOURCES.txt +2 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_array.py +0 -1
- piccolo-1.5.0/piccolo/__init__.py +0 -1
- {piccolo-1.5.0 → piccolo-1.5.1}/LICENSE +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/app/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/app/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/app/commands/new.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/app/commands/show_all.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/app/commands/templates/piccolo_app.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/app/commands/templates/tables.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/app/piccolo_app.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/README.md.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/_blacksheep_app.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/_esmerald_app.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/_fastapi_app.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/_litestar_app.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/_starlette_app.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/conftest.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/home/__init__.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/home/_blacksheep_endpoints.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/home/_esmerald_endpoints.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/home/_litestar_endpoints.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/home/_starlette_endpoints.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/home/piccolo_app.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/home/piccolo_migrations/README.md +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/home/tables.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/home/templates/base.html.jinja_raw +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/main.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/piccolo_conf.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/piccolo_conf_test.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/requirements.txt.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/static/favicon.ico +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/static/main.css +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/piccolo_app.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/fixtures/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/fixtures/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/fixtures/commands/dump.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/fixtures/commands/load.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/fixtures/commands/shared.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/fixtures/piccolo_app.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/meta/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/meta/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/meta/commands/version.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/meta/piccolo_app.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/auto/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/auto/diffable_table.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/auto/migration_manager.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/auto/operations.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/auto/schema_differ.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/auto/schema_snapshot.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/auto/serialisation.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/auto/serialisation_legacy.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/commands/base.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/commands/check.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/commands/clean.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/commands/forwards.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/commands/new.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/commands/templates/migration.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/piccolo_app.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/tables.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/playground/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/playground/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/playground/commands/run.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/playground/piccolo_app.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/project/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/project/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/project/commands/new.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/project/commands/templates/piccolo_conf.py.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/project/piccolo_app.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/schema/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/schema/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/schema/commands/exceptions.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/schema/commands/generate.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/schema/commands/graph.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/schema/commands/templates/graphviz.dot.jinja +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/schema/piccolo_app.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/shell/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/shell/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/shell/commands/run.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/shell/piccolo_app.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/sql_shell/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/sql_shell/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/sql_shell/commands/run.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/sql_shell/piccolo_app.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/tester/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/tester/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/tester/commands/run.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/tester/piccolo_app.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/user/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/user/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/user/commands/change_password.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/user/commands/change_permissions.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/user/commands/create.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/user/commands/list.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/user/piccolo_app.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/user/piccolo_migrations/2019-11-14T21-52-21.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/user/piccolo_migrations/2020-06-11T21-38-55.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/user/piccolo_migrations/2021-04-30T16-14-15.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/user/piccolo_migrations/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/user/tables.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/base.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/choices.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/column_types.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/combination.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/defaults/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/defaults/base.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/defaults/date.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/defaults/interval.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/defaults/time.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/defaults/timestamp.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/defaults/timestamptz.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/defaults/uuid.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/indexes.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/m2m.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/operators/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/operators/base.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/operators/comparison.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/operators/math.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/operators/string.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/readable.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/columns/reference.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/conf/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/conf/apps.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/custom_types.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/engine/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/engine/base.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/engine/cockroach.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/engine/exceptions.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/engine/finder.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/engine/postgres.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/engine/sqlite.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/main.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/py.typed +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/base.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/alter.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/count.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/create.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/create_index.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/delete.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/drop_index.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/exists.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/indexes.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/insert.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/objects.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/raw.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/refresh.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/select.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/table_exists.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/methods/update.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/mixins.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/query/proxy.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/querystring.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/schema.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/table.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/table_reflection.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/testing/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/testing/model_builder.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/testing/random_builder.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/dictionary.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/encoding.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/graphlib/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/graphlib/_graphlib.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/lazy_loader.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/list.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/naming.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/objects.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/printing.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/pydantic.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/repr.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/sql_values.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/sync.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo/utils/warnings.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo.egg-info/dependency_links.txt +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo.egg-info/entry_points.txt +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo.egg-info/requires.txt +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/piccolo.egg-info/top_level.txt +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/profiling/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/profiling/run_profile.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/pyproject.toml +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/setup.cfg +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/setup.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/app/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/app/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/app/commands/test_new.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/app/commands/test_show_all.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/asgi/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/asgi/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/asgi/commands/test_new.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/fixtures/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/fixtures/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/fixtures/commands/test_dump_load.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/fixtures/commands/test_shared.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/meta/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/meta/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/meta/commands/test_version.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/auto/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/auto/integration/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/auto/integration/test_migrations.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/auto/test_diffable_table.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/auto/test_migration_manager.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/auto/test_schema_differ.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/auto/test_schema_snapshot.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/auto/test_serialisation.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/commands/test_base.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/commands/test_check.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/commands/test_clean.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/commands/test_forwards_backwards.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/commands/test_migrations/2020-03-31T20-38-22.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/commands/test_migrations/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/commands/test_new.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/migrations/test_migration.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/project/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/project/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/project/commands/test_new.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/schema/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/shell/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/shell/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/shell/commands/test_run.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/sql_shell/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/sql_shell/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/sql_shell/commands/test_run.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/tester/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/user/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/user/commands/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/user/commands/test_change_password.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/user/commands/test_change_permissions.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/user/commands/test_create.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/user/commands/test_list.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/apps/user/test_tables.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/m2m/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/m2m/base.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/m2m/test_m2m.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/m2m/test_m2m_schema.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_base.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_bigint.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_boolean.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_bytea.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_choices.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_combination.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_date.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_db_column_name.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_defaults.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_double_precision.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_interval.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_json.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_jsonb.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_numeric.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_primary_key.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_readable.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_real.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_reference.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_reserved_column_names.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_smallint.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_time.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_timestamp.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_timestamptz.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_uuid.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/columns/test_varchar.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/conf/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/conf/example.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/conf/test_apps.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/engine/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/engine/test_extra_nodes.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/engine/test_logging.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/engine/test_nested_transaction.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/engine/test_pool.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/engine/test_transaction.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/engine/test_version_parsing.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/example_apps/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/example_apps/mega/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/example_apps/mega/piccolo_app.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/example_apps/mega/piccolo_migrations/2021-09-20T21-23-25-698988.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/example_apps/mega/piccolo_migrations/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/example_apps/mega/tables.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/example_apps/music/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/example_apps/music/piccolo_app.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/example_apps/music/tables.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/example_apps/music/tables_detailed.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/query/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/query/mixins/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/query/mixins/test_columns_delegate.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/query/mixins/test_order_by_delegate.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/query/test_await.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/query/test_camelcase.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/query/test_freeze.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/query/test_gather.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/query/test_querystring.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/query/test_slots.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/instance/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/instance/test_create.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/instance/test_get_related.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/instance/test_get_related_readable.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/instance/test_instantiate.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/instance/test_remove.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/instance/test_save.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/instance/test_to_dict.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_all_columns.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_alter.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_batch.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_callback.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_constructor.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_count.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_create.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_create_db_tables.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_create_table_class.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_delete.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_drop_db_tables.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_exists.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_from_dict.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_indexes.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_inheritance.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_insert.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_join.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_join_on.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_metaclass.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_objects.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_output.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_raw.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_ref.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_refresh.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_repr.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_select.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_str.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_table_exists.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/table/test_update.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/test_main.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/test_schema.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/testing/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/testing/test_model_builder.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/testing/test_random_builder.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/utils/__init__.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/utils/test_dictionary.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/utils/test_encoding.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/utils/test_lazy_loader.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/utils/test_list.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/utils/test_naming.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/utils/test_printing.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/utils/test_pydantic.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/utils/test_sql_values.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/utils/test_sync.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/utils/test_table_reflection.py +0 -0
- {piccolo-1.5.0 → piccolo-1.5.1}/tests/utils/test_warnings.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: piccolo
|
3
|
-
Version: 1.5.
|
3
|
+
Version: 1.5.1
|
4
4
|
Summary: A fast, user friendly ORM and query builder which supports asyncio.
|
5
5
|
Home-page: https://github.com/piccolo-orm/piccolo
|
6
6
|
Author: Daniel Townsend
|
@@ -144,7 +144,7 @@ Let Piccolo scaffold you an ASGI web app, using Piccolo as the ORM:
|
|
144
144
|
piccolo asgi new
|
145
145
|
```
|
146
146
|
|
147
|
-
[Starlette](https://www.starlette.io/), [FastAPI](https://fastapi.tiangolo.com/), [BlackSheep](https://www.neoteroi.dev/blacksheep/), [Litestar](https://litestar.dev/)
|
147
|
+
[Starlette](https://www.starlette.io/), [FastAPI](https://fastapi.tiangolo.com/), [BlackSheep](https://www.neoteroi.dev/blacksheep/), [Litestar](https://litestar.dev/), [Esmerald](https://esmerald.dev/) and [Lilya](https://lilya.dev) are currently supported.
|
148
148
|
|
149
149
|
## Are you a Django user?
|
150
150
|
|
@@ -94,7 +94,7 @@ Let Piccolo scaffold you an ASGI web app, using Piccolo as the ORM:
|
|
94
94
|
piccolo asgi new
|
95
95
|
```
|
96
96
|
|
97
|
-
[Starlette](https://www.starlette.io/), [FastAPI](https://fastapi.tiangolo.com/), [BlackSheep](https://www.neoteroi.dev/blacksheep/), [Litestar](https://litestar.dev/)
|
97
|
+
[Starlette](https://www.starlette.io/), [FastAPI](https://fastapi.tiangolo.com/), [BlackSheep](https://www.neoteroi.dev/blacksheep/), [Litestar](https://litestar.dev/), [Esmerald](https://esmerald.dev/) and [Lilya](https://lilya.dev) are currently supported.
|
98
98
|
|
99
99
|
## Are you a Django user?
|
100
100
|
|
@@ -0,0 +1 @@
|
|
1
|
+
__VERSION__ = "1.5.1"
|
@@ -0,0 +1,45 @@
|
|
1
|
+
from piccolo_admin.endpoints import create_admin
|
2
|
+
from piccolo_api.crud.endpoints import PiccoloCRUD
|
3
|
+
from piccolo.engine import engine_finder
|
4
|
+
from lilya.routing import Path, Include
|
5
|
+
from lilya.apps import Lilya
|
6
|
+
from lilya.staticfiles import StaticFiles
|
7
|
+
|
8
|
+
from home.endpoints import HomeController
|
9
|
+
from home.piccolo_app import APP_CONFIG
|
10
|
+
from home.tables import Task
|
11
|
+
|
12
|
+
|
13
|
+
app = Lilya(
|
14
|
+
routes=[
|
15
|
+
Path("/", HomeController),
|
16
|
+
Include(
|
17
|
+
"/admin/",
|
18
|
+
create_admin(
|
19
|
+
tables=APP_CONFIG.table_classes,
|
20
|
+
# Required when running under HTTPS:
|
21
|
+
# allowed_hosts=['my_site.com']
|
22
|
+
)
|
23
|
+
),
|
24
|
+
Include("/static/", StaticFiles(directory="static")),
|
25
|
+
Include("/tasks/", PiccoloCRUD(table=Task))
|
26
|
+
],
|
27
|
+
)
|
28
|
+
|
29
|
+
|
30
|
+
@app.on_event("on_startup")
|
31
|
+
async def open_database_connection_pool():
|
32
|
+
try:
|
33
|
+
engine = engine_finder()
|
34
|
+
await engine.start_connection_pool()
|
35
|
+
except Exception:
|
36
|
+
print("Unable to connect to the database")
|
37
|
+
|
38
|
+
|
39
|
+
@app.on_event("on_shutdown")
|
40
|
+
async def close_database_connection_pool():
|
41
|
+
try:
|
42
|
+
engine = engine_finder()
|
43
|
+
await engine.close_connection_pool()
|
44
|
+
except Exception:
|
45
|
+
print("Unable to connect to the database")
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import os
|
2
|
+
|
3
|
+
import jinja2
|
4
|
+
from lilya.controllers import Controller
|
5
|
+
from lilya.responses import HTMLResponse
|
6
|
+
|
7
|
+
|
8
|
+
ENVIRONMENT = jinja2.Environment(
|
9
|
+
loader=jinja2.FileSystemLoader(
|
10
|
+
searchpath=os.path.join(os.path.dirname(__file__), "templates")
|
11
|
+
)
|
12
|
+
)
|
13
|
+
|
14
|
+
|
15
|
+
class HomeController(Controller):
|
16
|
+
async def get(self, request):
|
17
|
+
template = ENVIRONMENT.get_template("home.html.jinja")
|
18
|
+
|
19
|
+
content = template.render(title="Piccolo + ASGI",)
|
20
|
+
|
21
|
+
return HTMLResponse(content)
|
@@ -61,6 +61,11 @@
|
|
61
61
|
<li><a href="/admin/">Admin</a></li>
|
62
62
|
<li><a href="/docs/swagger">Swagger API</a></li>
|
63
63
|
</ul>
|
64
|
+
<h3>Lilya</h3>
|
65
|
+
<ul>
|
66
|
+
<li><a href="/admin/">Admin</a></li>
|
67
|
+
<li><a href="/tasks/">JSON endpoint</a></li>
|
68
|
+
</ul>
|
64
69
|
</section>
|
65
70
|
</div>
|
66
71
|
{% endblock content %}
|
@@ -78,9 +78,11 @@ class BackwardsMigrationManager(BaseMigrationManager):
|
|
78
78
|
_continue = (
|
79
79
|
"y"
|
80
80
|
if self.auto_agree
|
81
|
-
else input(
|
81
|
+
else input(
|
82
|
+
f"Reverse {n} migration{'s' if n != 1 else ''}? [y/N] "
|
83
|
+
).lower()
|
82
84
|
)
|
83
|
-
if _continue
|
85
|
+
if _continue == "y":
|
84
86
|
for migration_id in reversed_migration_ids:
|
85
87
|
migration_module = migration_modules[migration_id]
|
86
88
|
response = await migration_module.forwards()
|
@@ -131,10 +133,10 @@ async def run_backwards(
|
|
131
133
|
"apps:\n"
|
132
134
|
f"{', '.join(names)}\n"
|
133
135
|
"Are you sure you want to continue? [y/N] "
|
134
|
-
)
|
136
|
+
).lower()
|
135
137
|
)
|
136
138
|
|
137
|
-
if _continue
|
139
|
+
if _continue != "y":
|
138
140
|
return MigrationResult(success=False, message="user cancelled")
|
139
141
|
for _app_name in sorted_app_names:
|
140
142
|
print_heading(_app_name)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: piccolo
|
3
|
-
Version: 1.5.
|
3
|
+
Version: 1.5.1
|
4
4
|
Summary: A fast, user friendly ORM and query builder which supports asyncio.
|
5
5
|
Home-page: https://github.com/piccolo-orm/piccolo
|
6
6
|
Author: Daniel Townsend
|
@@ -144,7 +144,7 @@ Let Piccolo scaffold you an ASGI web app, using Piccolo as the ORM:
|
|
144
144
|
piccolo asgi new
|
145
145
|
```
|
146
146
|
|
147
|
-
[Starlette](https://www.starlette.io/), [FastAPI](https://fastapi.tiangolo.com/), [BlackSheep](https://www.neoteroi.dev/blacksheep/), [Litestar](https://litestar.dev/)
|
147
|
+
[Starlette](https://www.starlette.io/), [FastAPI](https://fastapi.tiangolo.com/), [BlackSheep](https://www.neoteroi.dev/blacksheep/), [Litestar](https://litestar.dev/), [Esmerald](https://esmerald.dev/) and [Lilya](https://lilya.dev) are currently supported.
|
148
148
|
|
149
149
|
## Are you a Django user?
|
150
150
|
|
@@ -32,6 +32,7 @@ piccolo/apps/asgi/commands/templates/app/README.md.jinja
|
|
32
32
|
piccolo/apps/asgi/commands/templates/app/_blacksheep_app.py.jinja
|
33
33
|
piccolo/apps/asgi/commands/templates/app/_esmerald_app.py.jinja
|
34
34
|
piccolo/apps/asgi/commands/templates/app/_fastapi_app.py.jinja
|
35
|
+
piccolo/apps/asgi/commands/templates/app/_lilya_app.py.jinja
|
35
36
|
piccolo/apps/asgi/commands/templates/app/_litestar_app.py.jinja
|
36
37
|
piccolo/apps/asgi/commands/templates/app/_starlette_app.py.jinja
|
37
38
|
piccolo/apps/asgi/commands/templates/app/app.py.jinja
|
@@ -43,6 +44,7 @@ piccolo/apps/asgi/commands/templates/app/requirements.txt.jinja
|
|
43
44
|
piccolo/apps/asgi/commands/templates/app/home/__init__.py.jinja
|
44
45
|
piccolo/apps/asgi/commands/templates/app/home/_blacksheep_endpoints.py.jinja
|
45
46
|
piccolo/apps/asgi/commands/templates/app/home/_esmerald_endpoints.py.jinja
|
47
|
+
piccolo/apps/asgi/commands/templates/app/home/_lilya_endpoints.py.jinja
|
46
48
|
piccolo/apps/asgi/commands/templates/app/home/_litestar_endpoints.py.jinja
|
47
49
|
piccolo/apps/asgi/commands/templates/app/home/_starlette_endpoints.py.jinja
|
48
50
|
piccolo/apps/asgi/commands/templates/app/home/endpoints.py.jinja
|
@@ -1 +0,0 @@
|
|
1
|
-
__VERSION__ = "1.5.0"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/_blacksheep_app.py.jinja
RENAMED
File without changes
|
{piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/_esmerald_app.py.jinja
RENAMED
File without changes
|
{piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/_fastapi_app.py.jinja
RENAMED
File without changes
|
{piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/_litestar_app.py.jinja
RENAMED
File without changes
|
{piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/_starlette_app.py.jinja
RENAMED
File without changes
|
File without changes
|
{piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/home/__init__.py.jinja
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/home/piccolo_app.py.jinja
RENAMED
File without changes
|
File without changes
|
{piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/home/tables.py.jinja
RENAMED
File without changes
|
File without changes
|
File without changes
|
{piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/piccolo_conf.py.jinja
RENAMED
File without changes
|
{piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/piccolo_conf_test.py.jinja
RENAMED
File without changes
|
{piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/asgi/commands/templates/app/requirements.txt.jinja
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/migrations/commands/templates/migration.py.jinja
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{piccolo-1.5.0 → piccolo-1.5.1}/piccolo/apps/project/commands/templates/piccolo_conf.py.jinja
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|