class documentation
class FailedWrite(_SubmittedEntity):
An entity the API did not accept.
| Instance Variable | entity |
The entity's id, or None if it has none. |
| Instance Variable | errors |
The error details for the failure. |
| Instance Variable | index |
The entity's position in the data passed to Client.put. |
| Instance Variable | rejected |
True when the API refused the request's payload (a 4xx validation error) or it could not be serialised, so the entity must be corrected before it can be written. False when the request failed for another reason, such as a server or connection error, so the entity may be written by resubmitting it unchanged. |
| Instance Variable | status |
The HTTP status of the failed request, or None when no response was received (e.g. a connection error or an unserialisable payload). |
Inherited from _SubmittedEntity:
| Method | describe |
A short label for logs, e.g. #17 urn:proj:Agent:a1 or #17 (no id). |
index =
¶
overrides
datagraphs.client._SubmittedEntity.indexThe entity's position in the data passed to Client.put.
True when the API refused the request's payload (a 4xx validation error) or it could not be serialised, so the entity must be corrected before it can be written. False when the request failed for another reason, such as a server or connection error, so the entity may be written by resubmitting it unchanged.