aeat.domain.categories._corpus module

Category profile access through committed registry data.

load_category_profiles_from_manual() is the registry-backed facade over resolve_category_profiles(), returning year-keyed mappings from SpendingCategory to CategoryProfile.

load_category_profiles_from_manual(year)[source]

Load reviewed spending-category profiles for year.

Return type:

Mapping[SpendingCategory, CategoryProfile]

Returns:

Mapping from SpendingCategory to CategoryProfile for the given year.

Parameters:

year (int)