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

Method __init__

asyncpg/cursor.py:30–48  ·  view source on GitHub ↗
(
        self,
        connection,
        query,
        state,
        args,
        prefetch,
        timeout,
        record_class
    )

Source from the content-addressed store, hash-verified

28 )
29
30 def __init__(
31 self,
32 connection,
33 query,
34 state,
35 args,
36 prefetch,
37 timeout,
38 record_class
39 ):
40 super().__init__(connection)
41 self._args = args
42 self._prefetch = prefetch
43 self._query = query
44 self._timeout = timeout
45 self._state = state
46 self._record_class = record_class
47 if state is not None:
48 state.attach()
49
50 @connresource.guarded
51 def __aiter__(self):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected