MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / handler

Method handler

asyncpg/_testbase/__init__.py:160–161  ·  view source on GitHub ↗
(loop, ctx)

Source from the content-addressed store, hash-verified

158 contexts = []
159
160 def handler(loop, ctx):
161 contexts.append(ctx)
162
163 old_handler = self.loop.get_exception_handler()
164 self.loop.set_exception_handler(handler)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected