def cache_key_name(cls, *args):
        """Return the name of the key to use to cache the current configuration"""
        if cls.KEY_FIELDS != ():
            if len(args) != len(cls.KEY_FIELDS):
                raise TypeError(
                    "cache_key_name() takes exactly {} arguments ({} given)".format(len(cls.KEY_FIELDS), len(args))
                )
            # pylint: disable=unicode-builtin
            return 'configuration/{}/current/{}'.format(cls.__name__, ','.join(six.text_type(arg) for arg in args))
        else:
            return 'configuration/{}/current'.format(cls.__name__)
def cache_key_name ( cls , * args ) : if cls . KEY_FIELDS != ( ) : if len ( args ) != len ( cls . KEY_FIELDS ) : raise TypeError ( "cache_key_name() takes exactly {} arguments ({} given)" . format ( len ( cls . KEY_FIELDS ) , len ( args ) ) ) return 'configuration/{}/current/{}' . format ( cls . __name__ , ',' . join ( six . text_type ( arg ) for arg in args ) ) else : return 'configuration/{}/current' . format ( cls . __name__ )
Return the name of the key to use to cache the current configuration