Class Batch (2.6.0)

Batch(client)

Proxy an underlying connection, batching up change operations.

Parameter

NameDescription
client Client

The client to use for making connections.

Methods

current

current()

Return the topmost batch, or None.

finish

finish()

Submit a single multipart/mixed request with deferred requests.

Returns
TypeDescription
list of tuplesone (headers, payload) tuple per deferred request.