OpenQuizz
Une application de gestion des contenus pédagogiques
wait_incrementing Class Reference
Inheritance diagram for wait_incrementing:
Collaboration diagram for wait_incrementing:

Public Member Functions

def __init__ (self, start=0, increment=100, max=_utils.MAX_WAIT)
 
def __call__ (self, retry_state)
 
- Public Member Functions inherited from wait_base
def __add__ (self, other)
 
def __radd__ (self, other)
 

Data Fields

 start
 
 increment
 
 max
 

Detailed Description

Wait an incremental amount of time after each attempt.

Starting at a starting value and incrementing by a value for each attempt
(and restricting the upper limit to some maximum value).

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  start = 0,
  increment = 100,
  max = _utils.MAX_WAIT 
)

Member Function Documentation

◆ __call__()

def __call__ (   self,
  retry_state 
)

Reimplemented from wait_base.

Field Documentation

◆ increment

increment

◆ max

max

◆ start

start

The documentation for this class was generated from the following file: