class_docstr: TensorBoard-internal utility for warning when data is too new.
  
  Specify a maximum known `version` number as stored in summary
  metadata, and automatically reject and warn on data from newer
  versions. This keeps a (single) bit of internal state to handle
  logging a warning to the user at most once.
  
  This should only be used by plugins bundled with TensorBoard, since
  it may instruct users to upgrade their copy of TensorBoard.
class_docstr_tok: ["TensorBoard-internal","utility","for","warning","when","data","is","too","new",".","Specify","a","maximum","known","`","version","`","number","as","stored","in","summary","metadata",",","and","automatically","reject","and","warn","on","data","from","newer","versions",".","This","keeps","a","(","single",")","bit","of","internal","state","to","handle","logging","a","warning","to","the","user","at","most","once",".","This","should","only","be","used","by","plugins","bundled","with","TensorBoard",",","since","it","may","instruct","users","to","upgrade","their","copy","of","TensorBoard","."]
code: def _maybe_warn(self, version, run, tag):
      if self._warned:
          return
      self._warned = True
      logger.warning(
          "Some %s data is too new to be read by this version of TensorBoard. "
          "Upgrading TensorBoard may fix this. "
          "(sample: run %r, tag %r, data version %r)",
          self._data_kind,
          run,
          tag,
          version,
      )
  
imports: import threading
  from bleach.sanitizer import Cleaner
  import markdown
  from tensorboard import context
  from tensorboard.backend import experiment_id
  from tensorboard.util import tb_logging
label_desc: Use image node_id 3 for calling the _MetadataVersionChecker obj's underlying member method code with example usage: obj._maybe_warn(version, run, tag) without return types