aeat.domain.calculations.registry._validate_reference_sections module¶
Specialized snapshot-reference section walkers.
Per-section walkers that traverse the typed-ID fields of a
ModeloRevision and call into an
IdReferenceChecker
to accumulate dangling-reference diagnostics.
See also
aeat.domain.calculations.registry.check_all_id_references()Snapshot-level referential-integrity gate that invokes these walkers.
aeat.domain.calculations.registry._validate_reference_checkerAccumulator that owns the per-kind typed-id sets used here.
- check_construct_refs(checker, revision)[source]¶
Check construct member references for one revision.
The
ModeloRevisionsupplies construct declarations. TheIdReferenceCheckersupplies the typed member-id sets and legal/source-ref closure checks.- Return type:
- Parameters:
checker (IdReferenceChecker)
revision (ModeloRevision)
- check_dependency_classification_refs(checker, revision)[source]¶
Check dependency-classification construct and relation refs.
The
ModeloRevisionsupplies dependency classifications. The checker verifies target constructs, relation refs, and legal/source refs against the snapshot id sets.- Return type:
- Parameters:
checker (IdReferenceChecker)
revision (ModeloRevision)
- check_algorithm_provider_refs(checker, revision)[source]¶
Check algorithm-provider legal/source refs for one revision.
The
ModeloRevisionsupplies algorithm-provider declarations, while the checker verifies their legal and source ids against the selected snapshot catalogues.- Return type:
- Parameters:
checker (IdReferenceChecker)
revision (ModeloRevision)
- check_algorithm_binding_refs(checker, revision)[source]¶
Check algorithm-binding provider, input, output, and constant refs.
The
ModeloRevisionsupplies algorithm bindings and providers. Binding inputs may resolve through casilla, binding, parameter, or relation ids; outputs and target casillas must resolve through declared casilla ids.- Return type:
- Parameters:
checker (IdReferenceChecker)
revision (ModeloRevision)
- check_export_layout_refs(checker, revision)[source]¶
Check export-layout record and field references for one revision.
The
ModeloRevisionsupplies export layouts. The checker validates dictionary source refs, record positive-casilla gates, row-field casillas, field casilla/binding refs, and field legal/source refs.- Return type:
- Parameters:
checker (IdReferenceChecker)
revision (ModeloRevision)
- check_binding_selector_shapes(checker, revision)[source]¶
Validate selectors for sources with a registered discriminated shape.
- Parameters:
checker (
IdReferenceChecker) – The reference checker whose failures list accumulates any selector-shape validation errors found.revision (
ModeloRevision) – TheModeloRevisionwhose binding selectors are validated.
- Return type: