qat.core.BatchResult
- class qat.core.BatchResult(**kwargs)
Simple higher level wrapper for the serializable BatchResult class.
- Parameters
kwargs (keyword arguments) – accepted arguments are results (a list of
Result
objects) and meta_data (a (str, str) map).
- Instance attributes:
results (list<
Result
>): list of resultsmeta_data (dict<str, str>): meta data
- dump(fname)
Dumps the BatchResult inside a file in binary format.
- Parameters
fname (str) – the file name
- classmethod from_thrift(tobject)
Builds a BatchResult object from a thrift object
- static load(fname)
Loads a BatchResult from a file
- Parameters
fname (str) – the file name
- Returns