From c23c391d830dd14961e5d851e1c690eae8753f87 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sat, 10 Oct 2020 19:10:17 -0700 Subject: [PATCH] disable locking for annotations until I can find a better way to do it --- masque/traits/annotatable.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/masque/traits/annotatable.py b/masque/traits/annotatable.py index 0285cfd..e818b3b 100644 --- a/masque/traits/annotatable.py +++ b/masque/traits/annotatable.py @@ -44,9 +44,9 @@ class AnnotatableImpl(Annotatable, metaclass=ABCMeta): ''' @property def annotations(self) -> annotations_t: - # TODO: Find a way to make sure the subclass implements Lockable without dealing with diamond inheritance or this extra hasattr - if hasattr(self, 'is_locked') and self.is_locked(): - return MappingProxyType(self._annotations) +# # TODO: Find a way to make sure the subclass implements Lockable without dealing with diamond inheritance or this extra hasattr +# if hasattr(self, 'is_locked') and self.is_locked(): +# return MappingProxyType(self._annotations) return self._annotations @annotations.setter