mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
removed incorrect anomally catch
This commit is contained in:
parent
b64996cd89
commit
5e8847d028
1 changed files with 0 additions and 4 deletions
|
|
@ -626,10 +626,6 @@ class EPCRecord:
|
||||||
# Ignore keys that are not part of the dataclass schema
|
# Ignore keys that are not part of the dataclass schema
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if value in DATA_ANOMALY_MATCHES:
|
|
||||||
setattr(self, key, None)
|
|
||||||
continue
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
cast_value = self._cast_value(value, field_map[key].type)
|
cast_value = self._cast_value(value, field_map[key].type)
|
||||||
setattr(self, key, cast_value)
|
setattr(self, key, cast_value)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue