MCPcopy Create free account
hub / github.com/tox-dev/filelock / executescript

Function executescript

tests/test_async_read_write_cancellation.py:395–398  ·  view source on GitHub ↗
(real_connection: sqlite3.Connection, statement: str)

Source from the content-addressed store, hash-verified

393 execute_started: asyncio.Event,
394) -> None:
395 def executescript(real_connection: sqlite3.Connection, statement: str) -> sqlite3.Cursor:
396 if "PRAGMA journal_mode" in statement:
397 loop.call_soon_threadsafe(execute_started.set)
398 return real_connection.executescript(statement)
399
400 _patch_async_connection(mocker, executescript=executescript)
401

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected