class_docstr: StorageManager is helper interface for downloading & uploading files to supported remote storage
  Support remote servers: http(s)/S3/GS/Azure/File-System-Folder
  Cache is enabled by default for all downloaded remote urls/files
docstr: Set the cache context file limit. File limit is the maximum number of files the specific cache context holds.
  Notice, there is no limit on the size of these files, only the total number of cached files.
  
  :param int cache_file_limit: New maximum number of cached files
  :param str cache_context: Optional cache context identifier, default global context
  :return: The new cache context file limit.
docstr_tok: ["Set","the","cache","context","file","limit",".","File","limit","is","the","maximum","number","of","files","the","specific","cache","context","holds",".","Notice",",","there","is","no","limit","on","the","size","of","these","files",",","only","the","total","number","of","cached","files",".",":","param","int","cache_file_limit",":","New","maximum","number","of","cached","files",":","param","str","cache_context",":","Optional","cache","context","identifier",",","default","global","context",":","return",":","The","new","cache","context","file","limit","."]
code: def set_cache_file_limit(
      cls, cache_file_limit, cache_context=None
  ):  # type: (int, Optional[str]) -> int
      """
      Set the cache context file limit. File limit is the maximum number of files the specific cache context holds.
      Notice, there is no limit on the size of these files, only the total number of cached files.
  
      :param int cache_file_limit: New maximum number of cached files
      :param str cache_context: Optional cache context identifier, default global context
      :return: The new cache context file limit.
      """
      return CacheManager.get_cache_manager(
          cache_context=cache_context, cache_file_limit=cache_file_limit
      ).set_cache_limit(cache_file_limit)
  
imports: import fnmatch
  import shutil
  import tarfile
  from multiprocessing.pool import ThreadPool
  from random import random
  from time import time
  from typing import List, Optional, Union
  from zipfile import ZipFile
  from pathlib2 import Path
  from .cache import CacheManager
  from .callbacks import ProgressReport
  from .helper import StorageHelper
  from .util import encode_string_to_filename, safe_extract, create_zip_directories
  from ..debugging.log import LoggerRoot
  from ..config import deferred_config
label_desc: Use image node_id 3 for calling the StorageManager obj's underlying member method code with example usage: obj.set_cache_file_limit(cls, cache_file_limit, cache_context) and returns: CacheManager