Model/BaseUtility.py
2025-11-27 17:50:26 +00:00

19 lines
962 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from etl.epc.settings import DATA_ANOMALY_MATCHES as data_anon_matches
class Definitions:
"""
This class contains some base attributes which are used across multiple other classes
"""
# Anomalies described here: https://epc.opendatacommunities.org/docs/guidance#glossary
DATA_ANOMALY_MATCHES = data_anon_matches
DATA_ANOMALY_SUBSTRINGS = {
# Where values in a pick list that have been superseded by another value. For example, where a value for
# pitched roof has been replaced by three sub-categories of pitched roof. The original value is retained
# but for backward compatibility only it is appended to ensure that the energy certificate retrieval
# process can be successfully completed. Replacement data items cannot be applied retrospectively to energy
# certificates lodged on the register before the date of the change.
"for backward compatibility only"
}