mirror of https://github.com/MISP/PyMISP
fix: Add setter for Attribute in MISPEvent
parent
9c4e98f025
commit
749acd70b5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue