def load(config_file):
with open(config_file, "<STR_LIT:r>") as f:<EOL><INDENT>def env_get():<EOL><INDENT>return dict(os.environ)<EOL><DEDENT>tmpl = Template(f.read())<EOL>return Config(yaml.load(tmpl.render(**env_get())))<EOL><DEDENT>
Processes and loads config file.