def get_cache_slug():
 global _CACHE_SLUG
 if (not _CACHE_SLUG):
  _CACHE_SLUG = ''
  if (feconf.IS_MINIFIED or (not feconf.DEV_MODE)):
   yaml_file_content = dict_from_yaml(get_file_contents('cache_slug.yaml'))
   _CACHE_SLUG = yaml_file_content['cache_slug']
 return _CACHE_SLUG

def get_cache_slug ( ) : global _CACHE_SLUG if ( not _CACHE_SLUG ) : _CACHE_SLUG = '' if ( feconf . IS_MINIFIED or ( not feconf . DEV_MODE ) ) : yaml_file_content = dict_from_yaml ( get_file_contents ( 'cache_slug.yaml' ) ) _CACHE_SLUG = yaml_file_content [ 'cache_slug' ] return _CACHE_SLUG
returns cache slug depending whether dev or prod .