response_format
Provides functionality for handling the response format.
Examples
If you want to validate a dictionary against the response format:
>>> from data_formats import response_format
>>> example = {}
>>> response_format.validate(example)
- Traceback (most recent call last):
…
data_formats.response_format.ResponseValidationError
- exception data_formats.response_format.ResponseValidationError[source]
The instance failed to validate against the SCHEMA.