Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ query_saver
Method
query_saver
tests/test_logging.py:20–21 ·
view source on GitHub ↗
(record)
Source
from the content-addressed store, hash-verified
18
queries = asyncio.Queue()
19
20
def
query_saver(record):
21
queries.put_nowait(record)
22
23
log = LogCollector()
24
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected