class_docstr: Marshmallow validation error when dataset metric for update does not exist
class_docstr_tok: ["Marshmallow","validation","error","when","dataset","metric","for","update","does","not","exist"]
code: def __init__(self) -> None:
      super().__init__(
          [_("One or more metrics do not exist")], field_name="metrics"
      )
  
imports: from flask_babel import lazy_gettext
  from marshmallow.validate import ValidationError
  from superset.commands.exceptions import CommandException, CommandInvalidError, CreateFailedError, DeleteFailedError, ForbiddenError, ImportFailedError, UpdateFailedError
label_desc: Use image node_id 1 to create a new DatasetMetricsNotFoundValidationError object from inherited base classes: ValidationError with example: obj = DatasetMetricsNotFoundValidationError()