_format_key

privex.helpers.decorators._format_key(args, kwargs, cache_key: str, whitelist: bool = True, fmt_opt: privex.helpers.decorators.FormatOpt = <FormatOpt.POS_AUTO: 'force_pos'>, fmt_args: list = None)[source]

Internal function used by r_cache() and r_cache_async() for formatting a cache key e.g. pvx:{}:{}