title: Python mutually dependent classes (circular dependencies)
body: <p>I've searched a lot, but what I find is mainly examples of recursive programming in python. So here goes the question:</p>
  
  <p>How can I achieve this?</p>
  
  <pre><code>class A:
      b = B()
  
  class B:
      a = A()
  </code></pre>