def delete(self):
assert '<STR_LIT>' in self._document, "<STR_LIT>"<EOL>signal('<STR_LIT>').send(self.__class__, frames=[self])<EOL>self.get_collection().delete_one({'<STR_LIT>': self._id})<EOL>signal('<STR_LIT>').send(self.__class__, frames=[self])<EOL>
Delete this document