gerrit

How to access Gerrit Rest API using python

How to access Gerrit Rest API using python Question: Firstly, I’ve a limited gerrit understanding. I’m trying to access Gerrit Rest API using python, but not able to do so. I want to fetch all the information related to accounts (commits, reviews). from requests.auth import HTTPDigestAuth from pygerrit2 import GerritRestAPI, HTTPBasicAuth auth = HTTPBasicAuth(‘user’, ‘password’) …

Total answers: 2