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

Method __init__

asyncpg/prepared_stmt.py:21–26  ·  view source on GitHub ↗
(self, connection, query, state)

Source from the content-addressed store, hash-verified

19 __slots__ = ('_state', '_query', '_last_status')
20
21 def __init__(self, connection, query, state):
22 super().__init__(connection)
23 self._state = state
24 self._query = query
25 state.attach()
26 self._last_status = None
27
28 @connresource.guarded
29 def get_name(self) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected