responses submodule

Structures used for AMQP responses.

class storage.structures.comm.responses.SearchResult

Response to SearchRequest.

records

list – List of matching Publication objects.

Create new instance of SearchResult(records,)

class storage.structures.comm.responses.TreeInfo

Informations about stored trees.

path

str – Path of the tree in storage.

url_by_path

str – Full url-encoded path of the tree in storage.

url_by_issn

str – URL composed from ISSN.

Create new instance of TreeInfo(path, url_by_path, url_by_issn)