class_docstr: This class deals with all handler-related storage requirements, from storing metadata to synchronizing folders
  across instances.
class_docstr_tok: ["This","class","deals","with","all","handler-related","storage","requirements",",","from","storing","metadata","to","synchronizing","folders","across","instances","."]
code: def __init__(
      self, integration_id: int, root_dir: str = None, is_temporal=False
  ):
      args = {}
      if root_dir is not None:
          args["root_dir"] = root_dir
      storageFactory = FileStorageFactory(
          resource_group=RESOURCE_GROUP.INTEGRATION, sync=False, **args
      )
      self.fileStorage = storageFactory(integration_id)
      self.integration_id = integration_id
      self.is_temporal = is_temporal
  
imports: import os
  import re
  import io
  import zipfile
  from typing import Union
  import mindsdb.interfaces.storage.db
  from .fs import RESOURCE_GROUP, FileStorageFactory, SERVICE_FILES_NAMES
  from .json import get_json_storage
label_desc: Use image node_id 1 to create a new HandlerStorage object  with example: obj = HandlerStorage(integration_id, root_dir, is_temporal)