
- Fix unused imports in API endpoints - Add proper __all__ exports in model and schema modules - Add proper TYPE_CHECKING imports in models to prevent circular imports - Fix import order in migrations - Fix long lines in migration scripts - All ruff checks passing
20 lines
791 B
Python
20 lines
791 B
Python
from app.schemas.category import Category, CategoryCreate, CategoryUpdate
|
|
from app.schemas.inventory_transaction import (
|
|
InventoryTransaction,
|
|
InventoryTransactionCreate,
|
|
InventoryTransactionUpdate,
|
|
)
|
|
from app.schemas.product import Product, ProductCreate, ProductUpdate
|
|
from app.schemas.supplier import Supplier, SupplierCreate, SupplierUpdate
|
|
from app.schemas.token import Token, TokenPayload
|
|
from app.schemas.user import User, UserCreate, UserUpdate
|
|
|
|
__all__ = [
|
|
"Category", "CategoryCreate", "CategoryUpdate",
|
|
"InventoryTransaction", "InventoryTransactionCreate", "InventoryTransactionUpdate",
|
|
"Product", "ProductCreate", "ProductUpdate",
|
|
"Supplier", "SupplierCreate", "SupplierUpdate",
|
|
"Token", "TokenPayload",
|
|
"User", "UserCreate", "UserUpdate",
|
|
]
|