parameters: (show_info)
docstring: Save show_info dict to cache
docstring_summary: Save show_info dict to cache
docstring_tokens: Save show_info dict to cache
function: def cache_show_info(show_info):
      # type: (Dict[Text, Any]) -> None
      """
      Save show_info dict to cache
      """
      file_name = str(show_info['id']) + '.pickle'
      cache = {
          'show_info': show_info
      }
      with open(os.path.join(CACHE_DIR, file_name), 'wb') as fo:
          pickle.dump(cache, fo, protocol=2)
function_tokens: def cache_show_info ( show_info ) : # type: (Dict[Text, Any]) -> None file_name = str ( show_info [ 'id' ] ) + '.pickle' cache = { 'show_info' : show_info } with open ( os . path . join ( CACHE_DIR , file_name ) , 'wb' ) as fo : pickle . dump ( cache , fo , protocol = 2 )