title: Error "found unhashable key" while trying to read a yaml file
body: <p>I am trying to read .yaml file but getting &quot;found unhashable key&quot; error. Sample code and .yaml is mentioned below for reference</p>
  <p>test.py</p>
  <pre><code>file_path = &quot;test.yaml&quot;
  try:
      with open(file_path) as file:
          res = yaml.safe_load(file)
  except Exception as e:
      print(&quot;e&quot;,e)
  </code></pre>
  <p>test.yaml</p>
  <pre><code>jobs:
  - job: CLEANUP
    connection:
      dbms: mysql
      user: {{username}}
  </code></pre>