MCPcopy Create free account
hub / github.com/SeldonIO/seldon-server / get_conn

Function get_conn

python/seldon/shell/cmdutils.py:5–7  ·  view source on GitHub ↗
(user, passwd, db, host, port)

Source from the content-addressed store, hash-verified

3import re
4
5def get_conn(user, passwd, db, host, port):
6 conn = mdb.connect(user=user, passwd=passwd,db=db, host=host, port=port)
7 return conn;
8
9def get_db_details(zk_client):
10 db_details = {}

Callers 1

get_db_detailsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected