Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/psycopg/psycopg
/ test_cursor_stream
Function
test_cursor_stream
tests/test_pipeline.py:111–114 ·
view source on GitHub ↗
(conn)
Source
from the content-addressed store, hash-verified
109
110
111
def
test_cursor_stream(conn):
112
with
conn.pipeline(), conn.cursor()
as
cur:
113
with
pytest.raises(psycopg.ProgrammingError):
114
next(cur.stream(
"select 1"
))
115
116
117
def
test_server_cursor(conn):
Callers
nothing calls this directly
Calls
3
pipeline
Method · 0.45
cursor
Method · 0.45
stream
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…