Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword UnaryOpNot NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Str body Assign NameStore Dict Str Str Str Str Str AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad keyword NameLoad If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Str attr Return TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Assign NameStore Dict Str Str Str Str NameLoad NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Index Num If CompareIn Str NameLoad body Assign NameStore NameLoad If CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str body Assign NameStore NameLoad Raise Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Return SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Str Num body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr IfExp NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad body If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr Str Dict Str Str Str Str Str Str Dict Str Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad If UnaryOpNot SubscriptLoad NameLoad Index Str body Raise Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad keyword Str If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad NameLoad decorator_list decorator_list
N/A N/A httplib2 N/A json N/A datetime urlparse urljoin Cookie SimpleCookie error AuthenticationError GerritError NotSignedInError Connection N/A object N/A N/A Create a connection to a remote gerrit

    Required arguments:
    host -- remote host url.  usually like https://gerrit-host/gerrit/rpc

    Keyword arguments:
    verify -- Check SSL certificates for https connections (default True)
     __init__ N/A N/A self host verify N/A True N/A N/A N/A self host host N/A N/A self cookie N/A N/A self xsrf_key None N/A N/A self http N/A N/A httplib2 Http disable_ssl_certificate_validation N/A verify N/A N/A N/A self http follow_redirects False N/A N/A N/A self http follow_all_redirects False N/A request N/A N/A self url body method N/A None POST N/A N/A headers N/A Accept Content-Type Cookie application/json application/json; charset=UTF-8 N/A self cookie N/A N/A response content N/A N/A N/A self http request url method body headers headers N/A N/A set-cookie response N/A N/A N/A self cookie N/A response N/A set-cookie N/A cookie N/A SimpleCookie N/A N/A N/A cookie load N/A self cookie N/A N/A self xsrf_key N/A N/A cookie N/A GerritAccount value N/A N/A response content N/A N/A Service N/A object N/A N/A Geritt parent service object

    Subclasses implement various operations on the remove gerrit
    server.

    Example of use:

    import gerrit
    connection = gerrit.service.Connection('https://host/gerrit/rpc')
    service = gerrit.service.ChangeListService(connection)
    changes = service.allQueryNext(search="status:open project:foobar", page_size=50)
     __init__ N/A N/A self connection N/A N/A N/A N/A self connection connection N/A N/A self url N/A urljoin N/A N/A N/A self connection host / N/A N/A self __class__ __name__ N/A _request N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A self connection request args kwargs N/A _call N/A N/A self method N/A params N/A N/A body N/A jsonrpc method params 2.0 method params N/A N/A N/A self connection xsrf_key N/A N/A N/A body N/A xsrfKey N/A N/A self connection xsrf_key N/A body N/A N/A json dumps body N/A data N/A N/A json loads N/A N/A N/A self _request N/A self url body N/A 1 N/A N/A error data N/A N/A error GerritError N/A N/A N/A N/A data N/A error N/A message Not Signed In N/A N/A error NotSignedInError N/A N/A error N/A N/A data N/A error N/A message N/A N/A data N/A result N/A N/A ChangeListService N/A Service N/A allQueryNext N/A N/A self search last_seen page_size N/A z 25 N/A N/A data N/A N/A self _call allQueryNext search last_seen page_size N/A N/A data N/A changes N/A N/A ChangeDetailService N/A Service N/A changeDetail N/A N/A self change_id N/A N/A N/A N/A N/A self _call changeDetail N/A N/A change_id to_json N/A patchSetDetail N/A N/A self patchset_id N/A N/A N/A N/A N/A self _call patchSetDetail N/A N/A patchset_id to_json None None N/A N/A PatchDetailService N/A Service N/A publishComments N/A N/A self patchset_id comment votes N/A N/A N/A N/A N/A self _call publishComments N/A N/A patchset_id to_json comment votes N/A patchScript N/A N/A self patch_id patchset_id diff_base_id diff_prefs N/A None None N/A N/A N/A N/A self _call patchScript N/A N/A patch_id to_json N/A diff_base_id N/A N/A diff_base_id to_json None N/A N/A patchset_id to_json None N/A saveDraft N/A N/A self patch_id line message side timestamp N/A 1 None N/A N/A N/A timestamp N/A N/A timestamp N/A N/A N/A datetime datetime now N/A N/A N/A self _call saveDraft N/A key lineNbr message writtenOn status side N/A patchKey N/A N/A patch_id to_json line message N/A str timestamp d side N/A N/A ProjectAdminService N/A Service N/A visibleProjects N/A N/A self N/A N/A N/A N/A N/A self _call visibleProjects N/A N/A AccountService N/A Service N/A myAccount N/A N/A self N/A N/A N/A N/A N/A self _call myAccount N/A N/A UserPassAuthService N/A Service N/A authenticate N/A N/A self username password N/A N/A N/A data N/A N/A self _call authenticate username password N/A N/A N/A data N/A success N/A N/A N/A AuthenticationError N/A N/A BecomeAuthService N/A Service N/A authenticate N/A N/A self username N/A N/A N/A N/A response content N/A N/A self _request N/A urljoin N/A N/A self connection host N/A /become?user_name= username method GET N/A N/A N/A response status 302 N/A N/A N/A AuthenticationError content N/A N/A