MCPcopy
hub / github.com/openai/swarm / get_connection

Function get_connection

examples/personal_shopper/database.py:7–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7def get_connection():
8 global conn
9 if conn is None:
10 conn = sqlite3.connect("application.db")
11 return conn
12
13
14def create_database():

Callers 4

create_databaseFunction · 0.85
add_userFunction · 0.85
add_purchaseFunction · 0.85
add_productFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…