code: def query_cached(func):
      global query_cache
      return _cached(func, query_cache)
  
imports: import os
  import lore
  from lore.stores.disk import Disk
  from lore.stores.ram import Ram
label_desc: Use image node_id 2 for calling a global function with example usage: query_cached(func) and returns: _cached