class_docstr: Core plugin for TensorBoard.
  
  This plugin serves runs, configuration data, and static assets. This
  plugin should always be present in a TensorBoard WSGI application.
class_docstr_tok: ["Core","plugin","for","TensorBoard",".","This","plugin","serves","runs",",","configuration","data",",","and","static","assets",".","This","plugin","should","always","be","present","in","a","TensorBoard","WSGI","application","."]
docstr: Serve a JSON array of run names, ordered by run started time.
  
  Sort order is by started time (aka first event time) with empty
  times sorted last, and then ties are broken by sorting on the
  run name.
code: def _serve_runs(self, request):
      """Serve a JSON array of run names, ordered by run started time.
  
      Sort order is by started time (aka first event time) with empty
      times sorted last, and then ties are broken by sorting on the
      run name.
      """
      ctx = plugin_util.context(request.environ)
      experiment = plugin_util.experiment_id(request.environ)
      runs = sorted(
          self._data_provider.list_runs(ctx, experiment_id=experiment),
          key=lambda run: (
              run.start_time
              if run.start_time is not None
              else float("inf"),
              run.run_name,
          ),
      )
      run_names = [run.run_name for run in runs]
      return http_util.Respond(request, run_names, "application/json")
  
imports: import argparse
  import functools
  import gzip
  import io
  import mimetypes
  import posixpath
  import zipfile
  from werkzeug import utils
  from werkzeug import wrappers
  from tensorboard import plugin_util
  from tensorboard.backend import http_util
  from tensorboard.plugins import base_plugin
  from tensorboard.util import grpc_util
  from tensorboard.util import tb_logging
  from tensorboard import version
label_desc: Use image node_id 13 for calling the CorePlugin obj's underlying member method code with example usage: obj._serve_runs(request) and returns: http_util