Fix module import error in dependencies

- Update models/__init__.py to properly export model classes
- Fix the AttributeError when referencing models.User in app/api/deps.py
- Ensure proper re-exports to satisfy linting requirements
This commit is contained in:
Automated Action 2025-06-17 19:09:39 +00:00
parent 5da770418f
commit 07cab453ac

View File

@ -1 +1,6 @@
# models package initialization
# models package initialization
from app.models.user import User as User
from app.models.category import Category as Category
from app.models.supplier import Supplier as Supplier
from app.models.product import Product as Product
from app.models.inventory import Inventory as Inventory, InventoryTransaction as InventoryTransaction