def parse_yaml_file()

in python-batch/batch.py [0:0]


def parse_yaml_file(file_name: str):
  """
  Parse the provided YAML file to get the job configuration

  :param file_name: The path to the YAML configuration file
  :type file_name: str
  """
  with open(file_name) as f:
    data = yaml.load(f, Loader=SafeLoader)
    return(data)