class_docstr: Interface for using a run index.
class_docstr_tok: ["Interface","for","using","a","run","index","."]
docstr: Refreshes the index for the specified runs.
  
  `runs` is list of runs or run IDs for each run to refresh.
  
  `types` is an optional list of data types to refresh.
docstr_tok: ["Refreshes","the","index","for","the","specified","runs",".","`","runs","`","is","list","of","runs","or","run","IDs","for","each","run","to","refresh",".","`","types","`","is","an","optional","list","of","data","types","to","refresh","."]
code: def refresh(self, runs, types=None):
      """Refreshes the index for the specified runs.
  
      `runs` is list of runs or run IDs for each run to refresh.
  
      `types` is an optional list of data types to refresh.
      """
      if types is None or "attr" in types:
          self._attr_reader.refresh(runs)
      if types is None or "flag" in types:
          self._flag_reader.refresh(runs)
      if types is None or "scalar" in types:
          self._scalar_reader.refresh(runs)
  
imports: import logging
  import os
  import sqlite3
  from guild import run_util
  from guild import tfevent
  from guild import util
  from guild import var
label_desc: Use image node_id 4 for calling the RunIndex obj's underlying member method code with example usage: obj.refresh(runs, types) without return types