MCPcopy Index your code
hub / github.com/AutoForgeAI/autoforge / _get_connection

Function _get_connection

progress.py:24–26  ·  view source on GitHub ↗

Get a SQLite connection with proper timeout settings for parallel mode.

(db_file: Path)

Source from the content-addressed store, hash-verified

22
23
24def _get_connection(db_file: Path) -> sqlite3.Connection:
25 """Get a SQLite connection with proper timeout settings for parallel mode."""
26 return sqlite3.connect(db_file, timeout=SQLITE_TIMEOUT)
27
28
29def has_features(project_dir: Path) -> bool:

Callers 3

has_featuresFunction · 0.85
count_passing_testsFunction · 0.85
get_all_passing_featuresFunction · 0.85

Calls 1

connectMethod · 0.80

Tested by

no test coverage detected