class documentation

class DumpResult:

View In Hierarchy

The outcome of Gateway.dump_data.

Instance Variable exported The number of entities written to files.
Instance Variable failed Per class, the exception that stopped it being exported. No file is written for a failed class, so a file from an earlier export is left as it was.
Instance Variable files Per class, the file its entities were written to.
Instance Variable remaining The classes not attempted because the export stopped early, in the order they would have been exported. Only a result attached to an AuthenticationError or TokenRequestError (as its result) has any; the class that error interrupted is in ...
Property ok True when every class requested was exported in full.
exported: int =

The number of entities written to files.

failed: dict[str, Exception] =

Per class, the exception that stopped it being exported. No file is written for a failed class, so a file from an earlier export is left as it was.

files: dict[str, Path] =

Per class, the file its entities were written to.

remaining: list[str] =

The classes not attempted because the export stopped early, in the order they would have been exported. Only a result attached to an AuthenticationError or TokenRequestError (as its result) has any; the class that error interrupted is in failed.

@property
ok: bool =

True when every class requested was exported in full.