code: def load_yaml(yaml_file: str) -> Any:
      
      with open(yaml_file, 'r') as file:
          return ruamel.yaml.load(file, ruamel.yaml.RoundTripLoader)
docs: Load YAML from file.
  
      :param yaml_file: path to YAML file
      :return: content of the YAML as dict/list