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

Class ConnectionMeta

asyncpg/connection.py:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35
36class ConnectionMeta(type):
37
38 def __instancecheck__(cls, instance):
39 mro = type(instance).__mro__
40 return Connection in mro or _ConnectionProxy in mro
41
42
43class Connection(metaclass=ConnectionMeta):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…