コード例 #1
0
ファイル: base_config.py プロジェクト: prestodb/presto-admin
 def write_conf(self, conf):
     config.write(config.json_to_string(conf), self.config_path)
     return self.config_path
コード例 #2
0
ファイル: config.py プロジェクト: youngwookim/presto-admin
def store_conf(conf, path):
    config.write(config.json_to_string(conf), path)
コード例 #3
0
ファイル: mode.py プロジェクト: Teradata/presto-admin
def _store_mode_config(mode_config):
    config.write(config.json_to_string(mode_config), MODE_CONF_PATH)
コード例 #4
0
 def write_conf(self, conf):
     config.write(config.json_to_string(conf), self.config_path)
     return self.config_path
コード例 #5
0
ファイル: config.py プロジェクト: youngwookim/presto-admin
def write(conf):
    config.write(config.json_to_string(conf), SLIDER_CONFIG_PATH)
コード例 #6
0
def _store_mode_config(mode_config):
    config.write(config.json_to_string(mode_config), MODE_CONF_PATH)
コード例 #7
0
 def __init__(self, testcase, mode):
     self.testcase = testcase
     testcase.assertIn(mode, VALID_MODES)
     self.mode = mode
     self.json = config.json_to_string(self._get_mode_cfg(self.mode))
コード例 #8
0
def write(conf):
    config.write(config.json_to_string(conf), constants.CONFIG_PATH)
コード例 #9
0
 def __init__(self, testcase, mode):
     self.testcase = testcase
     testcase.assertIn(mode, VALID_MODES)
     self.mode = mode
     self.json = config.json_to_string(self._get_mode_cfg(self.mode))
コード例 #10
0
def store_conf(conf, path):
    config.write(config.json_to_string(conf), path)
コード例 #11
0
def write(conf):
    config.write(config.json_to_string(conf), SLIDER_CONFIG_PATH)
コード例 #12
0
ファイル: topology.py プロジェクト: tddisser/presto-admin
def write(conf):
    config.write(config.json_to_string(conf), constants.CONFIG_PATH)