docstr: Returns the formatted default message of this Rule.
  
  This method should be overridden (with code generation) by subclasses to reflect
  the exact arguments needed by the message template. This is a helper method to
  create the default message for a diagnostic.
docstr_tok: ["Returns","the","formatted","default","message","of","this","Rule",".","This","method","should","be","overridden","(","with","code","generation",")","by","subclasses","to","reflect","the","exact","arguments","needed","by","the","message","template",".","This","is","a","helper","method","to","create","the","default","message","for","a","diagnostic","."]
code: def format_message(self, *args, **kwargs) -> str:
      """Returns the formatted default message of this Rule.
  
      This method should be overridden (with code generation) by subclasses to reflect
      the exact arguments needed by the message template. This is a helper method to
      create the default message for a diagnostic.
      """
      return self.message_default_template.format(*args, **kwargs)
  
imports: from __future__ import annotations
  import dataclasses
  import enum
  import logging
  from typing import FrozenSet, List, Mapping, Optional, Sequence, Tuple
  from torch.onnx._internal.diagnostics.infra import formatter, sarif
label_desc: Use image node_id 4 for calling the Rule obj's underlying member method code with example usage: obj.format_message() and returns: self