
- Fixed circular import issue between base.py and base_class.py - Updated base_class.py to define Base directly and import models - Refactored base.py to import Base from base_class.py - Updated all models to import Base from base_class.py - Enhanced error handling in migrations/env.py to catch ImportError
4 lines
175 B
Python
4 lines
175 B
Python
# This module is used for SQLAlchemy session setup
|
|
# Import from base_class instead of defining Base here to avoid circular imports
|
|
from app.db.base_class import Base # noqa
|