Closed sebhani closed 1 month ago
engine is created using create_engine function in the same file (i.e., db.py). Therefore, uncommenting from app.core.engine import engine line is unnecessary and would result in ModuleNotFoundError: No module named 'app.core.engine' error.
engine
from app.core.engine import engine
ModuleNotFoundError: No module named 'app.core.engine'
Cool, thanks!
engine
is created using create_engine function in the same file (i.e., db.py). Therefore, uncommentingfrom app.core.engine import engine
line is unnecessary and would result inModuleNotFoundError: No module named 'app.core.engine'
error.