#NEWLINE# def _makeOne( self , redis = DummyRedis ( ) , timeout = 300 ) : #NEWLINE# #INDENT# from .. util import get_unique_session_id #NEWLINE# serialize = ( lambda x : x ) #NEWLINE# ids = itertools . count ( start = 1 , step = 1 ) #NEWLINE# generator = ( lambda : next ( ids ) ) #NEWLINE# return get_unique_session_id ( redis , timeout , serialize , generator = generator )