code: def multi_series_single_value(self, keys=None, ts=None, direction=None,
                                    attrs={}, tags=[]):
          
  
          url = 'single/'
          if ts is not None:
              vts = check_time_param(ts)
          else:
              vts = None
  
          params = {
              'key': keys,
              'tag': tags,
              'attr': attrs,
              'ts': vts,
              'direction': direction
          }
  
          url_args = endpoint.make_url_args(params)
          url = '?'.join([url, url_args])
          resp = self.session.get(url)
          return resp
docs: Return a single value for multiple series.  You can supply a
          timestamp as the ts argument, otherwise the search defaults to the
          current time.
  
          The direction argument can be one of "exact", "before", "after", or
          "nearest".
  
          The id, key, tag, and attr arguments allow you to filter for series.
          See the :meth:`list_series` method for an explanation of their use.
  
          :param string keys: (optional) a list of keys for the series to use
          :param ts: (optional) the time to begin searching from
          :type ts: ISO8601 string or Datetime object
          :param string direction: criterion for the search
          :param tags: filter by one or more tags
          :type tags: list or string
          :param dict attrs: filter by one or more key-value attributes
          :rtype: :class:`tempodb.protocol.cursor.SingleValueCursor` with an
                  iterator over :class:`tempodb.protocol.objects.SingleValue`
                  objects