From 665a27ca260d7a4665db0dac8344b77c99b54d0b Mon Sep 17 00:00:00 2001 From: Lewis Blake Date: Tue, 8 Oct 2024 10:49:58 +0200 Subject: [PATCH] Update obsentry.py to remove deprecated allow_mutation=False Tried setting frozen=True but this breaks 25 tests in tests/aeroval and tests/cams2_83, so for now we keep it mutable --- pyaerocom/aeroval/obsentry.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pyaerocom/aeroval/obsentry.py b/pyaerocom/aeroval/obsentry.py index 7931f0466..45b6e5244 100644 --- a/pyaerocom/aeroval/obsentry.py +++ b/pyaerocom/aeroval/obsentry.py @@ -93,7 +93,6 @@ class ObsEntry(BaseModel): model_config = ConfigDict( arbitrary_types_allowed=True, extra="allow", - allow_mutation=False, validate_assignment=True, )