Skip to content

Conversation

sebhani
Copy link
Contributor

@sebhani sebhani commented Jul 21, 2024

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 is created using create_engine function in the same file (i.e., db.py)
@tiangolo tiangolo changed the title Fix disabling Alembic 💡 Remove unnecessary comment Sep 27, 2024
@tiangolo
Copy link
Member

Cool, thanks!

@tiangolo tiangolo merged commit 08dd87d into fastapi:master Sep 27, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants