class_docstr: Log reader to read vdl log, support for frontend api in lib.py.
  
      
docstr: Get components type used by vdl.
          
docstr_tok: ["Get","components","type","used","by","vdl","."]
code: def components(self, update=False):
      """Get components type used by vdl."""
      if self.logdir is None:
          return set()
      if update is True:
          self.load_new_data(update=update)
      components_set = set(self._tags.values())
  
      return components_set
  
imports: import collections
  import os
  from functools import partial
  from visualdl.component import components
  from visualdl.io import bfile
  from visualdl.proto import record_pb2
  from visualdl.reader.record_reader import RecordReader
  from visualdl.server.data_manager import default_data_manager
  from visualdl.utils.string_util import decode_tag
  from visualdl.utils.string_util import encode_tag
label_desc: Use image node_id 25 for calling the LogReader obj's underlying member method code with example usage: obj.components(update) and returns: components_set, set