def getrepositorycommits(self, project_id, ref_name=None, page=1, per_page=20):
        data = {'page': page, 'per_page': per_page}
        if ref_name is not None:
            data.update({"ref_name": ref_name})
        request = requests.get("{0}/{1}/repository/commits".format(self.projects_url, project_id),
                               verify=self.verify_ssl, auth=self.auth, params=data, headers=self.headers, timeout=self.timeout)
        if request.status_code == 200:
            return request.json()
        else:
            return False
Runs this query, with an optional result limit and an optional offset.
dataset/ETHPy150Open pyapi-gitlab/pyapi-gitlab/gitlab/__init__.py/Gitlab.getrepositorycommits--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/api/datastore.py/Query._Run