def get_import_info(): if CONFIG.get("import", "continue_on_error") is None: CONFIG.set("import", "continue_on_error", "0") return { "continue_on_error": CONFIG.get('import', 'continue_on_error'), 'bulk_load': CONFIG.get('import', 'bulk_load') }
def get_rhic_serve_config_info(): return { "host": CONFIG.get("rhic_serve", "host"), "port": CONFIG.get("rhic_serve", "port"), "user": CONFIG.get("rhic_serve", "username"), "passwd": CONFIG.get("rhic_serve", "password") }
def get_nau(): return { 'calculation': CONFIG.get('nau', 'calculation') }