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

Public Member Functions

def __init__ (self, exception_types=Exception)
 
def __call__ (self, retry_state)
 
- Public Member Functions inherited from retry_base
def __and__ (self, other)
 
def __or__ (self, other)
 

Data Fields

 exception_types
 
- Data Fields inherited from retry_if_exception
 predicate
 

Detailed Description

Retries until an exception is raised of one or more types.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  exception_types = Exception 
)

Reimplemented from retry_if_exception.

Member Function Documentation

◆ __call__()

def __call__ (   self,
  retry_state 
)

Reimplemented from retry_if_exception.

Field Documentation

◆ exception_types

exception_types

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