(Optional) Defaults to True. If True, instead of adding exceptions to the list of return responses, the final exception will be raised. Note that exceptions are unwrapped after all operations are complete in success or failure, and only the last exception is raised.
Methods
current
current()
Return the topmost batch, or None.
finish
finish(raise_exception=True)
Submit a single multipart/mixed request with deferred requests.
Parameter
Name
Description
raise_exception
bool
(Optional) Defaults to True. If True, instead of adding exceptions to the list of return responses, the final exception will be raised. Note that exceptions are unwrapped after all operations are complete in success or failure, and only the last exception is raised.
Returns
Type
Description
list of tuples
one (headers, payload) tuple per deferred request.