class documentation
class LoadResult:
The outcome of Gateway.load_data.
| Instance Variable | class |
Per class, the error that stopped its file being loaded at all (e.g. invalid JSON or a malformed entity id). |
| Instance Variable | failed |
Per class, the entities that were not written and why. |
| Instance Variable | loaded |
The number of entities confirmed as written. |
| Instance Variable | skipped |
The number of classes not loaded because they had no data file, an empty one, or (for a single requested class) no dataset. |
| Instance Variable | timed |
Per class, the IDs of entities whose write timed out and may or may not have completed: verify with a read, or reload them. |
| Property | failed |
The total number of entities that were not written. |
| Property | ok |
True when every entity found was confirmed as written. |
| Property | timed |
The total number of entities whose write timed out. |
Per class, the error that stopped its file being loaded at all (e.g. invalid JSON or a malformed entity id).
The number of classes not loaded because they had no data file, an empty one, or (for a single requested class) no dataset.