mirror of https://github.com/MISP/PyMISP
chg: Add in delete function for a MISP Object
parent
9b80325cc0
commit
6d11164acf
|
@ -750,6 +750,10 @@ class MISPObject(AbstractMISP):
|
|||
# Then we have no meta-category, template_uuid, description and template_version
|
||||
pass
|
||||
|
||||
def delete(self):
|
||||
"""Mark the attribute as deleted (soft delete)"""
|
||||
self.deleted = True
|
||||
|
||||
@property
|
||||
def disable_validation(self):
|
||||
self._strict = False
|
||||
|
|
Loading…
Reference in New Issue