

def hooks(self, user, repo):
    'List webhooks\n\n        :param str user: GitHub user name\n        :param str repo: GitHub repo name\n        :return list: List of commit dicts from GitHub; see\n            http://developer.github.com/v3/repos/hooks/#json-http\n        '
    return self.repo(user, repo).iter_hooks()

dataset/ETHPy150Open CenterForOpenScience/osf.io/website/addons/github/api.py GitHubClient.hooks/original