code: def delete(self):
          
  
          with self.draft_context():
              draft = self.one(Q._uid == self._uid)
              if draft:
                  super(PublisherFrame, draft).delete()
  
          with self.published_context():
              published = self.one(Q._uid == self._uid)
              if published:
                  super(PublisherFrame, published).delete()
docs: Delete this document and any counterpart document