What is going on here?!
NameError: name 'Foo' is not defined
class Foo:
def __init__(self):
self.bar = 0.0
self.configure(self.bar)
def give_me_a_foo(self, var) -> Foo:
return Foo()
Surely a class knows about itself? Do I need to to import this somehow?