aleph.datastructures.results module¶
This module provides Result objects, that are sent back as answers to requests.
All classes defined here are just simple namedtuple data containers, without any other functionality.
- class aleph.datastructures.results.CountResult[source]¶
Bases: aleph.datastructures.results.CountResult
This is returned back to client when he send CountRequest.
- num_of_records int¶
number of records.
- class aleph.datastructures.results.ExportResult[source]¶
Bases: aleph.datastructures.results.ExportResult
Sent back as response to ExportRequest.
This class is blank at the moment, because there is no information, that can be sen’t back.
- ISBN str¶
ISBN of accepted publication
- class aleph.datastructures.results.ISBNValidationResult[source]¶
Bases: aleph.datastructures.results.ISBNValidationResult
Response to ISBNValidationRequest.
- is_valid bool¶
True, if ISBN is valid.
- class aleph.datastructures.results.SearchResult[source]¶
Bases: aleph.datastructures.results.SearchResult
This is response structure, which is sent back when SearchRequest is received.
- records list¶
array of AlephRecord structures