Skip to content

0.107.0

Compare
Choose a tag to compare
@dantownsend dantownsend released this 27 Feb 20:40
· 203 commits to master since this release
021d782

Added the log_responses option to the database engines. This makes the engine print out the raw response from the database for each query, which is useful during debugging.

# piccolo_conf.py

DB = PostgresEngine(
    config={'database': 'my_database'},
    log_queries=True,
    log_responses=True
)

We also updated the Starlite ASGI template - it now uses the new import paths (thanks to @sinisaos for this).