@staticmethod<EOL><INDENT>def parse_config(config, key, options):<DEDENT>
conf = {}<EOL>for source, destination, opt_type in options:<EOL><INDENT>opt_value = _get_opt(config, key, source, opt_type)<EOL>if opt_value is not None:<EOL><INDENT>_set_opt(conf, destination, opt_value)<EOL><DEDENT><DEDENT>return conf<EOL>
Parse the config with the given options.