code: def parse_env_config(config, env_name):
      
      all_env = get(config, 'app.all_environments', {})
      env = get(config, 'app.environments.' + str(env_name), {})
      return merge_dict(all_env, env)
docs: Parses an environment config