Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/psycopg/psycopg
/ cursor
Method
cursor
psycopg/psycopg/connection.py:200–200 ·
view source on GitHub ↗
(self, *, binary: bool = False)
Source
from the content-addressed store, hash-verified
198
199
@overload
200
def
cursor(self, *, binary: bool = False) -> Cursor[Row]: ...
201
202
@overload
203
def
cursor(
Callers
15
execute
Method · 0.95
tpc_recover
Method · 0.95
test_close
Function · 0.45
test_cursor_closed
Function · 0.45
test_context_commit
Function · 0.45
test_context_rollback
Function · 0.45
test_auto_transaction
Function · 0.45
test_auto_transaction_fail
Function · 0.45
test_autocommit
Function · 0.45
test_autocommit_property
Function · 0.45
test_autocommit_intrans
Function · 0.45
test_autocommit_inerror
Function · 0.45
Calls
1
_check_connection_ok
Method · 0.80
Tested by
15
test_close
Function · 0.36
test_cursor_closed
Function · 0.36
test_context_commit
Function · 0.36
test_context_rollback
Function · 0.36
test_auto_transaction
Function · 0.36
test_auto_transaction_fail
Function · 0.36
test_autocommit
Function · 0.36
test_autocommit_property
Function · 0.36
test_autocommit_intrans
Function · 0.36
test_autocommit_inerror
Function · 0.36
test_broken_connection
Function · 0.36
test_notice_handlers
Function · 0.36