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

Method __init__

asyncpg/cursor.py:94–103  ·  view source on GitHub ↗
(self, connection, query, state, args, record_class)

Source from the content-addressed store, hash-verified

92 )
93
94 def __init__(self, connection, query, state, args, record_class):
95 super().__init__(connection)
96 self._args = args
97 self._state = state
98 if state is not None:
99 state.attach()
100 self._portal_name = None
101 self._exhausted = False
102 self._query = query
103 self._record_class = record_class
104
105 def _check_ready(self):
106 if self._state is None:

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected