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

Method handler

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected