I've got 2 class definitions:
class Foo:
  def __init__(self, bar: Bar):
    # some code
class Bar:
  def __init__(self, foo: Foo):
    # some more code
I want to specify the types of the arguments. When I try to run that code I get "using variable 'Bar' before assignment" error.
Is it possible to tell the interpreter that Bar is defined a few lines below?
 
    