def outputToYamlFile()

in tooling/query-metrics-alerts/parse_analysis.py [0:0]


def outputToYamlFile(data, filename):
  # Write the results to a file
  with open(filename, "w+") as f:
      yaml.dump(data, f, indent=2, default_flow_style=False, sort_keys=False)