class_docstr: Static class for storing the JumpStart models cache.
class_docstr_tok: ["Static","class","for","storing","the","JumpStart","models","cache","."]
docstr: Resets cache, optionally allowing cache kwargs to be passed to the new cache.
  
  Raises:
      ValueError: If region in `cache_kwargs` is inconsistent with `region` argument.
  
  Args:
      cache_kwargs (str): cache kwargs to validate.
      region (str): The region to validate along with the kwargs.
docstr_tok: ["Resets","cache",",","optionally","allowing","cache","kwargs","to","be","passed","to","the","new","cache",".","Raises",":","ValueError",":","If","region","in","`","cache_kwargs","`","is","inconsistent","with","`","region","`","argument",".","Args",":","cache_kwargs","(","str",")",":","cache","kwargs","to","validate",".","region","(","str",")",":","The","region","to","validate","along","with","the","kwargs","."]
code: def reset_cache(
      cache_kwargs: Dict[str, Any] = None, region: Optional[str] = None
  ) -> None:
      """Resets cache, optionally allowing cache kwargs to be passed to the new cache.
  
      Raises:
          ValueError: If region in `cache_kwargs` is inconsistent with `region` argument.
  
      Args:
          cache_kwargs (str): cache kwargs to validate.
          region (str): The region to validate along with the kwargs.
      """
      cache_kwargs_dict = {} if cache_kwargs is None else cache_kwargs
      JumpStartModelsAccessor.set_cache_kwargs(
          cache_kwargs_dict, region
      )
  
imports: from __future__ import absolute_import
  import functools
  from typing import Any, Dict, List, Optional
  import boto3
  from sagemaker.deprecations import deprecated
  from sagemaker.jumpstart.types import JumpStartModelHeader, JumpStartModelSpecs
  from sagemaker.jumpstart import cache
  from sagemaker.jumpstart.constants import JUMPSTART_DEFAULT_REGION_NAME
label_desc: Use image node_id 11 for calling the JumpStartModelsAccessor obj's underlying member method code with example usage: obj.reset_cache(cache_kwargs, region) without return types