MCPcopy
hub / github.com/ormar-orm/ormar / capture

Function capture

tests/test_databases/test_connection.py:162–165  ·  view source on GitHub ↗
(conn, cursor, statement, parameters, context, executemany)

Source from the content-addressed store, hash-verified

160 seen_autocommit: list[bool] = []
161
162 def capture(conn, cursor, statement, parameters, context, executemany):
163 seen_autocommit.append(
164 conn.get_execution_options().get("isolation_level") == "AUTOCOMMIT"
165 )
166
167 async with base_ormar_config.database:
168 event.listen(

Callers

nothing calls this directly

Calls 2

appendMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected