diff --git a/docs/CHANGELOG.rst b/docs/CHANGELOG.rst index 3d15736a..2b307bac 100644 --- a/docs/CHANGELOG.rst +++ b/docs/CHANGELOG.rst @@ -4,9 +4,9 @@ Change Log All notable changes to this project are documented in this file. -========== -Unreleased -========== +=================== +22.2.1 - 2025-11-19 +=================== Fixed ----- @@ -14,6 +14,7 @@ Fixed - Fix a bug in ``QCTables`` where the removal of sample name suffixes in MultiQC ``.txt`` files leads to incorrect parsing of MACS prepeak tables - Rewrite ``Collection`` shortcuts to use new syntax +- Fix a bug that caused crash when saving ``Relation`` resource =================== diff --git a/src/resdk/resources/fields.py b/src/resdk/resources/fields.py index 3be487db..a924ca92 100644 --- a/src/resdk/resources/fields.py +++ b/src/resdk/resources/fields.py @@ -476,6 +476,11 @@ def __get__( self._checks_before_get(instance) return getattr(instance, self._value_attribute_name, None) + def changed(self, instance: "BaseResource") -> bool: + """Check if the field value has changed.""" + # Lazy resource fields are read-only so they can never be changed. + return False + class QueryRelatedField(LazyResourceField): """Lazy load resources from another resource query.