code: def delete(self, key):
          
          assert key, "A key must be supplied for delete operations"
          self._collection.remove(spec_or_id={'_id': key})
          LOG.debug("DB REMOVE: %s.%s", self.collection_name, key)
docs: Delete a document by id.