Skip to content

Commit

Permalink
Update obsentry.py to remove deprecated allow_mutation=False
Browse files Browse the repository at this point in the history
Tried setting frozen=True but this breaks 25 tests in tests/aeroval and tests/cams2_83, so for now we keep it mutable
  • Loading branch information
lewisblake authored and thorbjoernl committed Oct 8, 2024
1 parent d4ed86f commit efd2bcb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pyaerocom/aeroval/obsentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ class ObsEntry(BaseModel):
model_config = ConfigDict(
arbitrary_types_allowed=True,
extra="allow",
allow_mutation=False,
validate_assignment=True,
)

Expand Down

0 comments on commit efd2bcb

Please sign in to comment.