You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't like how piccolo requires its files to have piccolo_app.py and piccolo_conf.py names.
I want to have a single file piccolo.py with the following contents:
Currently, this works for an ASGI app, but piccolo CLI is broken, because the required
file names are hardcoded into the piccolo CLI source code.
Instead, the user should be able to provide an --option to piccolo CLI with a path to the
file which contains the class instances that piccolo requires.
Also, the APP_CONFIG, APP_REGISTRY and DB variable names should also be parametrized,
because forcing heavy opinions on developers is impolite.
The text was updated successfully, but these errors were encountered:
I don't like how piccolo requires its files to have
piccolo_app.py
andpiccolo_conf.py
names.I want to have a single file
piccolo.py
with the following contents:Currently, this works for an ASGI app, but
piccolo
CLI is broken, because the requiredfile names are hardcoded into the piccolo CLI source code.
Instead, the user should be able to provide an
--option
to piccolo CLI with a path to thefile which contains the class instances that piccolo requires.
Also, the
APP_CONFIG
,APP_REGISTRY
andDB
variable names should also be parametrized,because forcing heavy opinions on developers is impolite.
The text was updated successfully, but these errors were encountered: