<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_resources(name, config):
 """Retrieve resources for a program, pulling from multiple config sources. """

    return tz.get_in(["resources", name], config,
                     tz.get_in(["resources", "default"], config, {}))