Some checks failed
All 84 import sites now use the canonical path app.modules.tenancy.schemas.auth directly — no need for backwards-compatibility re-exports. Update audit validator to check module schemas locations instead of only the legacy models/schema/ path. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
35 lines
1.0 KiB
Python
35 lines
1.0 KiB
Python
# models/schema/__init__.py
|
|
"""API models package - Base classes only.
|
|
|
|
This package provides the base infrastructure for Pydantic schemas:
|
|
- BaseModel configuration
|
|
- Common response patterns
|
|
- Auth schemas (cross-cutting)
|
|
|
|
IMPORTANT: Domain schemas have been migrated to their respective modules:
|
|
- Tenancy schemas: app.modules.tenancy.schemas
|
|
- CMS schemas: app.modules.cms.schemas
|
|
- Messaging schemas: app.modules.messaging.schemas
|
|
- Customer schemas: app.modules.customers.schemas
|
|
- Order schemas: app.modules.orders.schemas
|
|
- Inventory schemas: app.modules.inventory.schemas
|
|
- Cart schemas: app.modules.cart.schemas
|
|
- Marketplace schemas: app.modules.marketplace.schemas
|
|
- Catalog/Product schemas: app.modules.catalog.schemas
|
|
- Payment schemas: app.modules.payments.schemas
|
|
|
|
Import schemas from their canonical module locations instead of this package.
|
|
"""
|
|
|
|
# Infrastructure schemas that remain here
|
|
from . import (
|
|
base,
|
|
)
|
|
|
|
# Common imports for convenience
|
|
from .base import * # Base Pydantic models
|
|
|
|
__all__ = [
|
|
"base",
|
|
]
|