1
0

inner_func takes a twisted Connection object

This commit is contained in:
David Robertson
2022-09-27 18:02:47 +01:00
parent ad4c14e4b0
commit a591a3f778

View File

@@ -916,7 +916,7 @@ class DatabasePool:
start_time = monotonic_time()
def inner_func(conn, *args, **kwargs):
def inner_func(conn: adbapi.Connection, *args, **kwargs):
# We shouldn't be in a transaction. If we are then something
# somewhere hasn't committed after doing work. (This is likely only
# possible during startup, as `run*` will ensure changes are