Auto-fixed categories: - F401: unused imports removed - I001: import blocks sorted - W293: trailing whitespace stripped - UP035: deprecated typing imports replaced - SIM: simplify suggestions applied - ARG: unused args prefixed with underscore - T201: print statements removed - F841: unused variables removed - RUF059: unpacked variables prefixed Remaining ~1500 unfixable errors (C901, B904, N806, E402) require manual work. Backend smoke tests: 13/13 passed.
80 lines
2.9 KiB
Python
80 lines
2.9 KiB
Python
# #region DatasetReviewModels [C:2] [TYPE Module] [SEMANTICS sqlalchemy, dataset, review, model, schema, facade]
|
|
# @BRIEF Thin facade re-exporting all dataset review domain models from the decomposed sub-package.
|
|
# @LAYER: Domain
|
|
# @RELATION EXPORTS -> [DatasetReviewEnums:Module]
|
|
# @RELATION EXPORTS -> [DatasetReviewSessionModels:Module]
|
|
# @RELATION EXPORTS -> [DatasetReviewProfileModels:Module]
|
|
# @RELATION EXPORTS -> [DatasetReviewFindingModels:Module]
|
|
# @RELATION EXPORTS -> [DatasetReviewSemanticModels:Module]
|
|
# @RELATION EXPORTS -> [DatasetReviewFilterModels:Module]
|
|
# @RELATION EXPORTS -> [DatasetReviewMappingModels:Module]
|
|
# @RELATION EXPORTS -> [DatasetReviewClarificationModels:Module]
|
|
# @RELATION EXPORTS -> [DatasetReviewExecutionModels:Module]
|
|
# @INVARIANT: All public model classes and enums remain importable from `src.models.dataset_review` without changes.
|
|
# @RATIONALE: Original 984-line monolith violated INV_7 (400-line module limit). Decomposed into domain-focused sub-modules while preserving backward-compatible import paths.
|
|
# @REJECTED: Keeping all models in a single file because it exceeded the fractal limit by 2.5x and accumulated structural erosion risk.
|
|
|
|
from src.models.dataset_review_pkg._clarification_models import ( # noqa: F401
|
|
ClarificationAnswer,
|
|
ClarificationOption,
|
|
ClarificationQuestion,
|
|
ClarificationSession,
|
|
)
|
|
from src.models.dataset_review_pkg._enums import ( # noqa: F401
|
|
AnswerKind,
|
|
ApprovalState,
|
|
ArtifactFormat,
|
|
ArtifactType,
|
|
BusinessSummarySource,
|
|
CandidateMatchType,
|
|
CandidateStatus,
|
|
ClarificationStatus,
|
|
ConfidenceState,
|
|
FieldKind,
|
|
FieldProvenance,
|
|
FilterConfidenceState,
|
|
FilterRecoveryStatus,
|
|
FilterSource,
|
|
FindingArea,
|
|
FindingSeverity,
|
|
LaunchStatus,
|
|
MappingMethod,
|
|
MappingStatus,
|
|
MappingWarningLevel,
|
|
PreviewStatus,
|
|
QuestionState,
|
|
ReadinessState,
|
|
RecommendedAction,
|
|
ResolutionState,
|
|
SemanticSourceStatus,
|
|
SemanticSourceType,
|
|
SessionCollaboratorRole,
|
|
SessionPhase,
|
|
SessionStatus,
|
|
TrustLevel,
|
|
VariableKind,
|
|
)
|
|
from src.models.dataset_review_pkg._execution_models import ( # noqa: F401
|
|
CompiledPreview,
|
|
DatasetRunContext,
|
|
ExportArtifact,
|
|
SessionEvent,
|
|
)
|
|
from src.models.dataset_review_pkg._filter_models import ( # noqa: F401
|
|
ImportedFilter,
|
|
TemplateVariable,
|
|
)
|
|
from src.models.dataset_review_pkg._finding_models import ValidationFinding # noqa: F401
|
|
from src.models.dataset_review_pkg._mapping_models import ExecutionMapping # noqa: F401
|
|
from src.models.dataset_review_pkg._profile_models import DatasetProfile # noqa: F401
|
|
from src.models.dataset_review_pkg._semantic_models import ( # noqa: F401
|
|
SemanticCandidate,
|
|
SemanticFieldEntry,
|
|
SemanticSource,
|
|
)
|
|
from src.models.dataset_review_pkg._session_models import ( # noqa: F401
|
|
DatasetReviewSession,
|
|
SessionCollaborator,
|
|
)
|
|
# #endregion DatasetReviewModels
|