class_docstr: Provides caching for the defined types
class_docstr_tok: ["Provides","caching","for","the","defined","types"]
docstr: Gets the cache entry, if enabled and defined
  
  Args:
      cache_type (CacheType): type of cache
      hashkey (int): hash key
  
  Returns:
      Optional[Union[List[Any], Any]]: payload assigned to the hashkey
docstr_tok: ["Gets","the","cache","entry",",","if","enabled","and","defined","Args",":","cache_type","(","CacheType",")",":","type","of","cache","hashkey","(","int",")",":","hash","key","Returns",":","Optional","[","Union","[","List","[","Any","]",",","Any","]","]",":","payload","assigned","to","the","hashkey"]
code: def get(
      self,
      cache_type: CacheType,
      hashkey: int,
  ) -> Optional[Union[List[Any], Any]]:
      """Gets the cache entry, if enabled and defined
  
      Args:
          cache_type (CacheType): type of cache
          hashkey (int): hash key
  
      Returns:
          Optional[Union[List[Any], Any]]: payload assigned to the hashkey
      """
      if not self.enabled or cache_type not in self.cache:
          return None
      return self.cache[cache_type].get(hashkey, None)
  
file_path: featuretools/featuretools/feature_base/cache.py
imports: from __future__ import annotations
  from collections import defaultdict
  from dataclasses import dataclass, field
  from enum import Enum
  from typing import Any, List, Optional, Union
label_desc: Use image node_id 1 for calling the FeatureCache obj's underlying member method code with example usage: obj.get(cache_type, hashkey) and returns: self, None