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

Public Member Functions

def __init__ (self, min=0, max=1)
 
def __call__ (self, retry_state)
 
- Public Member Functions inherited from wait_base
def __add__ (self, other)
 
def __radd__ (self, other)
 

Data Fields

 wait_random_min
 
 wait_random_max
 

Detailed Description

Wait strategy that waits a random amount of time between min/max.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  min = 0,
  max = 1 
)

Member Function Documentation

◆ __call__()

def __call__ (   self,
  retry_state 
)

Reimplemented from wait_base.

Field Documentation

◆ wait_random_max

wait_random_max

◆ wait_random_min

wait_random_min

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