mirror of https://github.com/MISP/PyMISP
Merge pull request #694 from tomking2/feature/object_delete
Add in delete function for a MISP Objectpull/700/head
commit
e839dc4771
|
@ -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