def request_token(request):
 if (not hasattr(request, '_xblock_token')):
  request._xblock_token = uuid.uuid1().get_hex()
 return request._xblock_token

def request_token ( request ) : if ( not hasattr ( request , '_xblock_token' ) ) : request . _xblock_token = uuid . uuid1 ( ) . get_hex ( ) return request . _xblock_token
return a unique token for the supplied request .