fluidasserts.helper.asynchronous module

This module provide support for Asynchronous python.

fluidasserts.helper.asynchronous.http_retry(func)

Decorator to retry the function if a connection error is raised.

Return type

typing.Callable

fluidasserts.helper.asynchronous.is_connection_error(obj)

Return True if obj is an instance of a connection error.

Return type

bool

fluidasserts.helper.asynchronous.is_parameter_error(obj)

Return True if obj is an instance of a parameter error.

Return type

bool

fluidasserts.helper.asynchronous.is_timeout_error(obj)

Return True if obj is an instance of a timeout error.

Return type

bool

fluidasserts.helper.asynchronous.run_func(func, args, return_exceptions=True)

Run a function asynchronously over the list of arguments.

Return type

typing.List[typing.Any]