aeat.core.resources._repos.legal_parameters module¶
Singleton legal-parameter repository.
LegalParameterRepository loads registry-wide LegalParameter
records through the shared ResourceCacheRepository cache.
- class LegalParameterRepository[source]¶
Bases:
ResourceCacheRepository[Mapping[str, LegalParameter],None]Singleton-keyed repository for the registry-wide legal parameters.
Wraps
aeat.domain.calculations.registry.load_legal_parameters_only()rooted at the bundled registry tree and returnsLegalParameterrecords.- property singleton: Mapping[str, LegalParameter]¶