requests submodule

Structures used for AMQP communication requests.

class storage.structures.comm.requests.SearchRequest(query, light_request=False)

Retreive publication from archive using query - instance of Publication or Archive. Any property of the is used to retreive data.

query

obj – Instance of Publication or Archive.

light_request

bool, default False – If true, don’t return the data. This is used when you need just the metadata info.

class storage.structures.comm.requests.SaveRequest(record)

Save record to the storage.

record

obj – Instance of the Publication,

:class:`.Archive`.