class_docstr: Raw summary example plugin for TensorBoard.
class_docstr_tok: ["Raw","summary","example","plugin","for","TensorBoard","."]
docstr: Serves run to tag info.
  
  Frontend clients can use the Multiplexer's run+tag structure to request data
  for a specific run+tag. Responds with a map of the form:
  {runName: [tagName, tagName, ...]}
docstr_tok: ["Serves","run","to","tag","info",".","Frontend","clients","can","use","the","Multiplexer","'s","run+tag","structure","to","request","data","for","a","specific","run+tag",".","Responds","with","a","map","of","the","form",":","{","runName",":","[","tagName",",","tagName",",","...","]","}"]
code: def _serve_tags(self, request):
      """Serves run to tag info.
  
      Frontend clients can use the Multiplexer's run+tag structure to request data
      for a specific run+tag. Responds with a map of the form:
      {runName: [tagName, tagName, ...]}
      """
      ctx = plugin_util.context(request.environ)
      experiment = plugin_util.experiment_id(request.environ)
      run_tag_mapping = self._data_provider.list_scalars(
          ctx,
          experiment_id=experiment,
          plugin_name=metadata.PLUGIN_NAME,
      )
      run_info = {
          run: list(tags) for (run, tags) in run_tag_mapping.items()
      }
  
      return http_util.Respond(request, run_info, "application/json")
  
file_path: tensorboard/tensorboard/examples/plugins/example_raw_scalars/tensorboard_plugin_example_raw_scalars/plugin.py
imports: import mimetypes
  import os
  from werkzeug import wrappers
  from tensorboard import errors
  from tensorboard import plugin_util
  from tensorboard.backend import http_util
  from tensorboard.data import provider
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.scalar import metadata
label_desc: Use image node_id 3 for calling the ExampleRawScalarsPlugin obj's underlying member method code with example usage: obj._serve_tags(request) and returns: http_util