Class Batch (2.0.0)

Batch(client)

Proxy an underlying connection, batching up change operations.

Parameter

Name Description
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
Type Description
list of tuples one (headers, payload) tuple per deferred request.