(resource_list, output_list=None)
return yaml.dump(content)
Wrapper for a DM template basic spec.
Wrapper for a DM template basic spec.
Wrapper for a DM template basic spec .
def MakeResource(resource_list, output_list=None):
  """Wrapper for a DM template basic spec."""
  content = {'resources': resource_list}
  if output_list:
    content['outputs'] = output_list
  return yaml.dump(content)
def MakeResource ( resource_list , output_list = None ) : content = { 'resources' : resource_list } if output_list : content [ 'outputs' ] = output_list return yaml . dump ( content )