MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / cursor

Function cursor

test/engine/test_reconnect.py:95–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93 return cursor
94
95 def cursor():
96 while True:
97 yield mock_cursor()
98
99 def rollback():
100 if conn.explode == "rollback":

Callers 2

mock_connectionFunction · 0.70
connectMethod · 0.70

Calls 1

mock_cursorFunction · 0.85

Tested by

no test coverage detected