refactor: remove legacy models/schema/auth.py re-export file
Some checks failed
CI / ruff (push) Successful in 10s
CI / pytest (push) Failing after 44m56s
CI / validate (push) Successful in 22s
CI / dependency-scanning (push) Successful in 27s
CI / docs (push) Has been skipped
CI / deploy (push) Has been skipped

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>
This commit is contained in:
2026-02-26 23:59:46 +01:00
parent 4aa6f76e46
commit e3a52f6536
3 changed files with 27 additions and 46 deletions

View File

@@ -23,7 +23,6 @@ Import schemas from their canonical module locations instead of this package.
# Infrastructure schemas that remain here
from . import (
auth,
base,
)
@@ -32,5 +31,4 @@ from .base import * # Base Pydantic models
__all__ = [
"base",
"auth",
]