MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / get_conf

Function get_conf

bmtools/tools/database/utils/db_parser.py:5–9  ·  view source on GitHub ↗
(conf_file, server_name)

Source from the content-addressed store, hash-verified

3import logging
4
5def get_conf(conf_file, server_name):
6 conf = configparser.ConfigParser()
7 conf.read(conf_file)
8 sql_server = conf[server_name]
9 return sql_server
10
11
12def get_parser():

Callers 1

build_database_toolFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected