circular dependency section 6
mickaelmarin opened this issue · comments
mickaelmarin commented
Hi,
In section 6 of your course, you spoke about circular dependency, but I don't understand why.
I try to put 'from db import db' at the top of the app.py file and it work without errors.
Could you explain brieffly, in which case this circular dependency happen ?
thanks,
Mickael
Jose Salvatierra commented
Hey Mickael,
Thanks for raising this—I think you may be right and the import statement can be anywhere within that file. I will investigate!