class_docstr: Universal Gremlin<>pandas/graphistry functionality across Gremlin connectors
  
  Currently serializes queries as strings instead of bytecode in order to support cosmosdb
code: def gremlin_run(
      self, queries: Iterable[str], throw=False
  ) -> ResultSet:
      for query in queries:
          logger.debug("query: %s", query)
          try:
              if self._gremlin_client is None:
                  raise ValueError("Must first set a gremlin client")
              callback = self._gremlin_client.submitAsync(query)  # type: ignore
              if callback.result() is not None:
                  results = callback.result()
                  logger.debug("results: %s", results)
                  if results is not None:
                      logger.debug("Query succeeded: %s", type(results))
                  yield results
              else:
                  logger.error("Erroroneous result on query: %s", query)
                  if throw:
                      raise Exception(
                          f"Unexpected erroroneous result on query: {query}"
                      )
                  yield Exception(
                      f"Unexpected erroroneous result on query: {query}"
                  )
          except Exception as e:
              logger.error(
                  "Exception on query: %s", query, exc_info=True
              )
              logger.info("Resuming after caught exception...")
              if throw:
                  raise e
              yield e
  
imports: from typing import Any, Callable, Iterable, List, Optional, Set, Union, TYPE_CHECKING
  import os, pandas
  from .Plottable import Plottable
  from .util import setup_logger
label_desc: Use image node_id 5 for calling the GremlinMixin obj's underlying member method code with example usage: obj.gremlin_run(queries, throw) without return types