b.s.r.SmartServerRepositoryGatherStats(SmartServerRepositoryRequest) : class documentation

Part of bzrlib.smart.repository View In Hierarchy

No class docstring
Method do_repository_request Return the result of repository.gather_stats().

Inherited from SmartServerRepositoryRequest:

Method do Execute a repository request.
Method recreate_search Recreate a search from its serialised form.
Method recreate_search_from_recipe Recreate a specific revision search (vs a from-tip search).

Inherited from SmartServerRequest (via SmartServerRepositoryRequest):

Method __init__ Constructor.
Method execute Public entry point to execute this request.
Method do_body Called if the client sends a body with the request.
Method do_chunk Called with each body chunk if the request has a streamed body.
Method do_end Called when the end of the request has been received.
Method setup_jail Undocumented
Method teardown_jail Undocumented
Method translate_client_path Translate a path received from a network client into a local
Method transport_from_client_path Get a backing transport corresponding to the location referred to by
Method _check_enabled Raises DisabledMethod if this method is disabled.
def do_repository_request(self, repository, revid, committers):
Return the result of repository.gather_stats().
ParametersrepositoryThe repository to query in.
revidutf8 encoded rev id or an empty string to indicate None
committers'yes' or 'no'.
ReturnsA SmartServerResponse ('ok',), a encoded body looking like committers: 1 firstrev: 1234.230 0 latestrev: 345.700 3600 revisions: 2

But containing only fields returned by the gather_stats() call

API Documentation for Bazaar, generated by pydoctor at 2020-07-02 03:56:49.