code: def get_resources(name, config):
      
      return tz.get_in(["resources", name], config,
                       tz.get_in(["resources", "default"], config, {}))
docs: Retrieve resources for a program, pulling from multiple config sources.