Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudstack
/ connect
Method
connect
python/lib/cloudutils/db.py:31–35 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
29
self.db = db
30
31
def
connect(self):
32
return
mysql.connector.connect(host=self.host,
33
user=self.username,
34
password=self.password,
35
database=self.db)
36
37
def
execute(self, statement):
38
txn = None
Callers
2
execute
Method · 0.95
testConnection
Method · 0.95
Calls
1
connect
Method · 0.65
Tested by
no test coverage detected