class PutResult:
The outcome of Client.put, accounting for every entity submitted.
Each submitted entity is counted in exactly one of loaded, failed, timed_out or unsent.
| Instance Variable | failed |
Entities that were not written, with the reason for each. |
| Instance Variable | loaded |
The number of entities the API confirmed as written. |
| Instance Variable | timed |
Entities whose request timed out (HTTP 504 or a read timeout), so whose write may or may not have completed server-side. One with an id can be verified by reading it back, or resubmitted, since a write with an ... |
| Instance Variable | unsent |
Entities not written because put stopped early, on an AuthenticationError or TokenRequestError. Only a result attached to such an error (as its result) has any. |
| Property | ok |
True when every submitted entity was confirmed as written. |
Entities whose request timed out (HTTP 504 or a read timeout), so whose write may or may not have completed server-side. One with an id can be verified by reading it back, or resubmitted, since a write with an id is an idempotent upsert. One without an id is given a new id by DataGraphs on every write, so resubmitting it may create a duplicate: verify it first by comparing its property values with the persisted entities of its type.
Entities not written because put stopped early, on an
AuthenticationError or TokenRequestError. Only a result attached
to such an error (as its result) has any.