Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/saltstack/salt
/ _connect
Function
_connect
salt/modules/sqlite3.py:24–30 ·
view source on GitHub ↗
(db=None)
Source
from the content-addressed store, hash-verified
22
23
24
def
_connect(db=None):
25
if
db is None:
26
return
False
27
28
con = sqlite3.connect(db, isolation_level=None)
29
cur = con.cursor()
30
return
cur
31
32
33
def
version():
Callers
4
modify
Function · 0.70
fetch
Function · 0.70
tables
Function · 0.70
indices
Function · 0.70
Calls
2
cursor
Method · 0.80
connect
Method · 0.45
Tested by
no test coverage detected