wystia.utils package

Subpackages

Submodules

wystia.utils.decorators module

Decorator utilities

wystia.utils.decorators.retry_on_connection_error(func=None, max_retries=5)[source]

Decorator to automatically retry a function when a ConnectionError (such as a Broken Pipe error) is raised.

wystia.utils.response module

Utilities for API Gateway response formatting

wystia.utils.response.format_error(msg, code='BadRequest', status=400)[source]
wystia.utils.response.format_response(data, status=200)[source]

Module contents