MCPcopy Index your code
hub / github.com/google/adk-python / _set_sqlite_pragma

Function _set_sqlite_pragma

src/google/adk/sessions/database_session_service.py:141–144  ·  view source on GitHub ↗
(dbapi_connection, connection_record)

Source from the content-addressed store, hash-verified

139
140
141def _set_sqlite_pragma(dbapi_connection, connection_record):
142 cursor = dbapi_connection.cursor()
143 cursor.execute("PRAGMA foreign_keys=ON")
144 cursor.close()
145
146
147def _ensure_schema_indexes_exist(

Callers

nothing calls this directly

Calls 3

cursorMethod · 0.45
executeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected