class documentation
Accounts for each entity of one Client.put in its PutResult exactly once.
It also notes which entities have been accounted for, so that if the put stops part-way the rest can be reported as unsent.
| Method | __init__ |
Undocumented |
| Method | record |
Account for every entity in batch according to outcome. |
| Method | record |
Report every entity not yet accounted for as unsent. |
| Instance Variable | result |
Undocumented |
| Instance Variable | _accounted |
Undocumented |
| Instance Variable | _entities |
Undocumented |
def record(self, batch:
list[ dict[ str, Any]], start: int, outcome: _BatchOutcome, error: Exception | None):
¶
Account for every entity in batch according to outcome.
start is the position of the batch's first entity in the data passed to put.