From 749acd70b5ff00f2f74809b51cfb6db66b9543df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 21 Dec 2017 09:38:41 +0100 Subject: [PATCH] fix: Add setter for Attribute in MISPEvent --- pymisp/mispevent.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pymisp/mispevent.py b/pymisp/mispevent.py index be330ce..1977820 100644 --- a/pymisp/mispevent.py +++ b/pymisp/mispevent.py @@ -584,6 +584,10 @@ class MISPEvent(AbstractMISP): def attributes(self): return self.Attribute + @attributes.setter + def attributes(self, attributes): + self.Attribute = attributes + @property def related_events(self): return self.RelatedEvent