class_docstr: Handles a ListSessionGroups request.
class_docstr_tok: ["Handles","a","ListSessionGroups","request","."]
docstr: Handles the request specified on construction.
  
  This operation first attempts to construct SessionGroup information
  from hparam tags metadata.EXPERIMENT_TAG and
  metadata.SESSION_START_INFO.
  
  If no such tags are found, then will build SessionGroup information
  using the results from DataProvider.read_hyperparameters().
  
  Returns:
    A ListSessionGroupsResponse object.
code: def run(self):
      """Handles the request specified on construction.
  
      This operation first attempts to construct SessionGroup information
      from hparam tags metadata.EXPERIMENT_TAG and
      metadata.SESSION_START_INFO.
  
      If no such tags are found, then will build SessionGroup information
      using the results from DataProvider.read_hyperparameters().
  
      Returns:
        A ListSessionGroupsResponse object.
      """
  
      session_groups_from_tags = self._session_groups_from_tags()
      if session_groups_from_tags:
          return self._create_response(session_groups_from_tags)
  
      session_groups_from_data_provider = (
          self._session_groups_from_data_provider()
      )
      if session_groups_from_data_provider:
          return self._create_response(
              session_groups_from_data_provider
          )
  
      return api_pb2.ListSessionGroupsResponse(
          session_groups=[], total_size=0
      )
  
imports: import collections
  import dataclasses
  import operator
  import re
  from typing import Optional
  from google.protobuf import struct_pb2
  from tensorboard.data import provider
  from tensorboard.plugins.hparams import api_pb2
  from tensorboard.plugins.hparams import backend_context
  from tensorboard.plugins.hparams import error
  from tensorboard.plugins.hparams import json_format_compat
  from tensorboard.plugins.hparams import metadata
  from tensorboard.plugins.hparams import metrics
  from tensorboard.plugins.hparams import plugin_data_pb2
label_desc: Use image node_id 2 for calling the Handler obj's underlying member method code with example usage: obj.run() and returns: api_pb2, self, self