docs: def DeleteArtifact(self, name, cursor=None):
      """Deletes an artifact with given name from the database."""
  
      cursor.execute("DELETE FROM artifacts WHERE name = %s", [name])
  
      if cursor.rowcount == 0:
        raise db.UnknownArtifactError(name)