partition
stringclasses
3 values
func_name
stringlengths
1
134
docstring
stringlengths
1
46.9k
path
stringlengths
4
223
original_string
stringlengths
75
104k
code
stringlengths
75
104k
docstring_tokens
listlengths
1
1.97k
repo
stringlengths
7
55
language
stringclasses
1 value
url
stringlengths
87
315
code_tokens
listlengths
19
28.4k
sha
stringlengths
40
40
train
Repository.create_milestone
:calls: `POST /repos/:owner/:repo/milestones <http://developer.github.com/v3/issues/milestones>`_ :param title: string :param state: string :param description: string :param due_on: datetime :rtype: :class:`github.Milestone.Milestone`
github/Repository.py
def create_milestone(self, title, state=github.GithubObject.NotSet, description=github.GithubObject.NotSet, due_on=github.GithubObject.NotSet): """ :calls: `POST /repos/:owner/:repo/milestones <http://developer.github.com/v3/issues/milestones>`_ :param title: string :param state: string ...
def create_milestone(self, title, state=github.GithubObject.NotSet, description=github.GithubObject.NotSet, due_on=github.GithubObject.NotSet): """ :calls: `POST /repos/:owner/:repo/milestones <http://developer.github.com/v3/issues/milestones>`_ :param title: string :param state: string ...
[ ":", "calls", ":", "POST", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "milestones", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "issues", "/", "milestones", ">", "_", ":", "param", "title", ":", "string"...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1112-L1142
[ "def", "create_milestone", "(", "self", ",", "title", ",", "state", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "description", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "due_on", "=", "github", ".", "GithubObject", ".", "NotSet", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.create_project
calls: `POST /repos/:owner/:repo/projects <https://developer.github.com/v3/projects/#create-a-repository-project>`_ :param name: string :param body: string
github/Repository.py
def create_project(self, name, body=github.GithubObject.NotSet): """ calls: `POST /repos/:owner/:repo/projects <https://developer.github.com/v3/projects/#create-a-repository-project>`_ :param name: string :param body: string """ assert isinstance(name, (str, unicode)), na...
def create_project(self, name, body=github.GithubObject.NotSet): """ calls: `POST /repos/:owner/:repo/projects <https://developer.github.com/v3/projects/#create-a-repository-project>`_ :param name: string :param body: string """ assert isinstance(name, (str, unicode)), na...
[ "calls", ":", "POST", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "projects", "<https", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "projects", "/", "#create", "-", "a", "-", "repository", "-", "project", ">", "_"...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1144-L1165
[ "def", "create_project", "(", "self", ",", "name", ",", "body", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "assert", "isinstance", "(", "name", ",", "(", "str", ",", "unicode", ")", ")", ",", "name", "assert", "body", "is", "github", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.create_pull
:calls: `POST /repos/:owner/:repo/pulls <http://developer.github.com/v3/pulls>`_ :param title: string :param body: string :param issue: :class:`github.Issue.Issue` :param base: string :param head: string :param maintainer_can_modify: bool :rtype: :class:`github.Pu...
github/Repository.py
def create_pull(self, *args, **kwds): """ :calls: `POST /repos/:owner/:repo/pulls <http://developer.github.com/v3/pulls>`_ :param title: string :param body: string :param issue: :class:`github.Issue.Issue` :param base: string :param head: string :param mai...
def create_pull(self, *args, **kwds): """ :calls: `POST /repos/:owner/:repo/pulls <http://developer.github.com/v3/pulls>`_ :param title: string :param body: string :param issue: :class:`github.Issue.Issue` :param base: string :param head: string :param mai...
[ ":", "calls", ":", "POST", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "pulls", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "pulls", ">", "_", ":", "param", "title", ":", "string", ":", "param", "body",...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1167-L1181
[ "def", "create_pull", "(", "self", ",", "*", "args", ",", "*", "*", "kwds", ")", ":", "if", "len", "(", "args", ")", "+", "len", "(", "kwds", ")", ">=", "4", ":", "return", "self", ".", "__create_pull_1", "(", "*", "args", ",", "*", "*", "kwds"...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.create_source_import
:calls: `PUT /repos/:owner/:repo/import <https://developer.github.com/v3/migration/source_imports/#start-an-import>`_ :param vcs: string :param vcs_url: string :param vcs_username: string :param vcs_password: string :rtype: :class:`github.SourceImport.SourceImport`
github/Repository.py
def create_source_import(self, vcs, vcs_url, vcs_username=github.GithubObject.NotSet, vcs_password=github.GithubObject.NotSet): """ :calls: `PUT /repos/:owner/:repo/import <https://developer.github.com/v3/migration/source_imports/#start-an-import>`_ :param vcs: string :param vcs_url: str...
def create_source_import(self, vcs, vcs_url, vcs_username=github.GithubObject.NotSet, vcs_password=github.GithubObject.NotSet): """ :calls: `PUT /repos/:owner/:repo/import <https://developer.github.com/v3/migration/source_imports/#start-an-import>`_ :param vcs: string :param vcs_url: str...
[ ":", "calls", ":", "PUT", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "import", "<https", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "migration", "/", "source_imports", "/", "#start", "-", "an", "-", "import", ">...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1209-L1242
[ "def", "create_source_import", "(", "self", ",", "vcs", ",", "vcs_url", ",", "vcs_username", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "vcs_password", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "assert", "isinstance", "(", "vc...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.edit
:calls: `PATCH /repos/:owner/:repo <http://developer.github.com/v3/repos>`_ :param name: string :param description: string :param homepage: string :param private: bool :param has_issues: bool :param has_projects: bool :param has_wiki: bool :param has_downl...
github/Repository.py
def edit(self, name=None, description=github.GithubObject.NotSet, homepage=github.GithubObject.NotSet, private=github.GithubObject.NotSet, has_issues=github.GithubObject.NotSet, has_projects=github.GithubObject.NotSet, has_wiki=github.GithubObject.NotSet, has_downloads=github.GithubObject.NotSet, default_branch=github....
def edit(self, name=None, description=github.GithubObject.NotSet, homepage=github.GithubObject.NotSet, private=github.GithubObject.NotSet, has_issues=github.GithubObject.NotSet, has_projects=github.GithubObject.NotSet, has_wiki=github.GithubObject.NotSet, has_downloads=github.GithubObject.NotSet, default_branch=github....
[ ":", "calls", ":", "PATCH", "/", "repos", "/", ":", "owner", "/", ":", "repo", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", ">", "_", ":", "param", "name", ":", "string", ":", "param", "description", ":", "...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1254-L1319
[ "def", "edit", "(", "self", ",", "name", "=", "None", ",", "description", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "homepage", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "private", "=", "github", ".", "GithubObject", ".", "Not...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_archive_link
:calls: `GET /repos/:owner/:repo/:archive_format/:ref <http://developer.github.com/v3/repos/contents>`_ :param archive_format: string :param ref: string :rtype: string
github/Repository.py
def get_archive_link(self, archive_format, ref=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/:archive_format/:ref <http://developer.github.com/v3/repos/contents>`_ :param archive_format: string :param ref: string :rtype: string """ assert isins...
def get_archive_link(self, archive_format, ref=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/:archive_format/:ref <http://developer.github.com/v3/repos/contents>`_ :param archive_format: string :param ref: string :rtype: string """ assert isins...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", ":", "archive_format", "/", ":", "ref", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "contents", ">", "_", ":", "param"...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1321-L1337
[ "def", "get_archive_link", "(", "self", ",", "archive_format", ",", "ref", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "assert", "isinstance", "(", "archive_format", ",", "(", "str", ",", "unicode", ")", ")", ",", "archive_format", "assert",...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_assignees
:calls: `GET /repos/:owner/:repo/assignees <http://developer.github.com/v3/issues/assignees>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser`
github/Repository.py
def get_assignees(self): """ :calls: `GET /repos/:owner/:repo/assignees <http://developer.github.com/v3/issues/assignees>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser` """ return github.PaginatedList.PaginatedList( github...
def get_assignees(self): """ :calls: `GET /repos/:owner/:repo/assignees <http://developer.github.com/v3/issues/assignees>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser` """ return github.PaginatedList.PaginatedList( github...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "assignees", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "issues", "/", "assignees", ">", "_", ":", "rtype", ":", ":", "class", ":",...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1339-L1349
[ "def", "get_assignees", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "NamedUser", ".", "NamedUser", ",", "self", ".", "_requester", ",", "self", ".", "url", "+", "\"/assignees\"", ",", "None", "...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_branch
:calls: `GET /repos/:owner/:repo/branches/:branch <http://developer.github.com/v3/repos>`_ :param branch: string :rtype: :class:`github.Branch.Branch`
github/Repository.py
def get_branch(self, branch): """ :calls: `GET /repos/:owner/:repo/branches/:branch <http://developer.github.com/v3/repos>`_ :param branch: string :rtype: :class:`github.Branch.Branch` """ assert isinstance(branch, (str, unicode)), branch headers, data = self._req...
def get_branch(self, branch): """ :calls: `GET /repos/:owner/:repo/branches/:branch <http://developer.github.com/v3/repos>`_ :param branch: string :rtype: :class:`github.Branch.Branch` """ assert isinstance(branch, (str, unicode)), branch headers, data = self._req...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "branches", "/", ":", "branch", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", ">", "_", ":", "param", "branch", ":", "string"...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1351-L1362
[ "def", "get_branch", "(", "self", ",", "branch", ")", ":", "assert", "isinstance", "(", "branch", ",", "(", "str", ",", "unicode", ")", ")", ",", "branch", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\""...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_branches
:calls: `GET /repos/:owner/:repo/branches <http://developer.github.com/v3/repos>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Branch.Branch`
github/Repository.py
def get_branches(self): """ :calls: `GET /repos/:owner/:repo/branches <http://developer.github.com/v3/repos>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Branch.Branch` """ return github.PaginatedList.PaginatedList( github.Branch.Branch, ...
def get_branches(self): """ :calls: `GET /repos/:owner/:repo/branches <http://developer.github.com/v3/repos>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Branch.Branch` """ return github.PaginatedList.PaginatedList( github.Branch.Branch, ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "branches", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", ">", "_", ":", "rtype", ":", ":", "class", ":", "github", ".", "P...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1364-L1374
[ "def", "get_branches", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "Branch", ".", "Branch", ",", "self", ".", "_requester", ",", "self", ".", "url", "+", "\"/branches\"", ",", "None", ")" ]
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_collaborators
:calls: `GET /repos/:owner/:repo/collaborators <http://developer.github.com/v3/repos/collaborators>`_ :param affiliation: string :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser`
github/Repository.py
def get_collaborators(self, affiliation=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/collaborators <http://developer.github.com/v3/repos/collaborators>`_ :param affiliation: string :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedU...
def get_collaborators(self, affiliation=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/collaborators <http://developer.github.com/v3/repos/collaborators>`_ :param affiliation: string :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedU...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "collaborators", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "collaborators", ">", "_", ":", "param", "affiliation", ":", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1376-L1396
[ "def", "get_collaborators", "(", "self", ",", "affiliation", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "url_parameters", "=", "dict", "(", ")", "allowed_affiliations", "=", "[", "'outside'", ",", "'direct'", ",", "'all'", "]", "if", "affil...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_comments
:calls: `GET /repos/:owner/:repo/comments <http://developer.github.com/v3/repos/comments>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.CommitComment.CommitComment`
github/Repository.py
def get_comments(self): """ :calls: `GET /repos/:owner/:repo/comments <http://developer.github.com/v3/repos/comments>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.CommitComment.CommitComment` """ return github.PaginatedList.PaginatedList( gi...
def get_comments(self): """ :calls: `GET /repos/:owner/:repo/comments <http://developer.github.com/v3/repos/comments>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.CommitComment.CommitComment` """ return github.PaginatedList.PaginatedList( gi...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "comments", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "comments", ">", "_", ":", "rtype", ":", ":", "class", ":", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1411-L1421
[ "def", "get_comments", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "CommitComment", ".", "CommitComment", ",", "self", ".", "_requester", ",", "self", ".", "url", "+", "\"/comments\"", ",", "None...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_commit
:calls: `GET /repos/:owner/:repo/commits/:sha <http://developer.github.com/v3/repos/commits>`_ :param sha: string :rtype: :class:`github.Commit.Commit`
github/Repository.py
def get_commit(self, sha): """ :calls: `GET /repos/:owner/:repo/commits/:sha <http://developer.github.com/v3/repos/commits>`_ :param sha: string :rtype: :class:`github.Commit.Commit` """ assert isinstance(sha, (str, unicode)), sha headers, data = self._requester.r...
def get_commit(self, sha): """ :calls: `GET /repos/:owner/:repo/commits/:sha <http://developer.github.com/v3/repos/commits>`_ :param sha: string :rtype: :class:`github.Commit.Commit` """ assert isinstance(sha, (str, unicode)), sha headers, data = self._requester.r...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "commits", "/", ":", "sha", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "commits", ">", "_", ":", "param", "sha", ":...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1423-L1434
[ "def", "get_commit", "(", "self", ",", "sha", ")", ":", "assert", "isinstance", "(", "sha", ",", "(", "str", ",", "unicode", ")", ")", ",", "sha", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_commits
:calls: `GET /repos/:owner/:repo/commits <http://developer.github.com/v3/repos/commits>`_ :param sha: string :param path: string :param since: datetime.datetime :param until: datetime.datetime :param author: string or :class:`github.NamedUser.NamedUser` or :class:`github.Authenti...
github/Repository.py
def get_commits(self, sha=github.GithubObject.NotSet, path=github.GithubObject.NotSet, since=github.GithubObject.NotSet, until=github.GithubObject.NotSet, author=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/commits <http://developer.github.com/v3/repos/commits>`_ :param sha:...
def get_commits(self, sha=github.GithubObject.NotSet, path=github.GithubObject.NotSet, since=github.GithubObject.NotSet, until=github.GithubObject.NotSet, author=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/commits <http://developer.github.com/v3/repos/commits>`_ :param sha:...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "commits", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "commits", ">", "_", ":", "param", "sha", ":", "string", ":", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1436-L1470
[ "def", "get_commits", "(", "self", ",", "sha", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "path", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "since", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "until", "=", "github"...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_contents
:calls: `GET /repos/:owner/:repo/contents/:path <http://developer.github.com/v3/repos/contents>`_ :param path: string :param ref: string :rtype: :class:`github.ContentFile.ContentFile`
github/Repository.py
def get_contents(self, path, ref=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/contents/:path <http://developer.github.com/v3/repos/contents>`_ :param path: string :param ref: string :rtype: :class:`github.ContentFile.ContentFile` """ return se...
def get_contents(self, path, ref=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/contents/:path <http://developer.github.com/v3/repos/contents>`_ :param path: string :param ref: string :rtype: :class:`github.ContentFile.ContentFile` """ return se...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "contents", "/", ":", "path", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "contents", ">", "_", ":", "param", "path", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1472-L1479
[ "def", "get_contents", "(", "self", ",", "path", ",", "ref", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "return", "self", ".", "get_file_contents", "(", "path", ",", "ref", ")" ]
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_file_contents
:calls: `GET /repos/:owner/:repo/contents/:path <http://developer.github.com/v3/repos/contents>`_ :param path: string :param ref: string :rtype: :class:`github.ContentFile.ContentFile`
github/Repository.py
def get_file_contents(self, path, ref=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/contents/:path <http://developer.github.com/v3/repos/contents>`_ :param path: string :param ref: string :rtype: :class:`github.ContentFile.ContentFile` """ asse...
def get_file_contents(self, path, ref=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/contents/:path <http://developer.github.com/v3/repos/contents>`_ :param path: string :param ref: string :rtype: :class:`github.ContentFile.ContentFile` """ asse...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "contents", "/", ":", "path", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "contents", ">", "_", ":", "param", "path", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1481-L1503
[ "def", "get_file_contents", "(", "self", ",", "path", ",", "ref", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "assert", "isinstance", "(", "path", ",", "(", "str", ",", "unicode", ")", ")", ",", "path", "assert", "ref", "is", "github",...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_top_referrers
:calls: `GET /repos/:owner/:repo/traffic/popular/referrers <https://developer.github.com/v3/repos/traffic/>`_ :rtype: :class:`list` of :class:`github.Referrer.Referrer`
github/Repository.py
def get_top_referrers(self): """ :calls: `GET /repos/:owner/:repo/traffic/popular/referrers <https://developer.github.com/v3/repos/traffic/>`_ :rtype: :class:`list` of :class:`github.Referrer.Referrer` """ headers, data = self._requester.requestJsonAndCheck( "GET", ...
def get_top_referrers(self): """ :calls: `GET /repos/:owner/:repo/traffic/popular/referrers <https://developer.github.com/v3/repos/traffic/>`_ :rtype: :class:`list` of :class:`github.Referrer.Referrer` """ headers, data = self._requester.requestJsonAndCheck( "GET", ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "traffic", "/", "popular", "/", "referrers", "<https", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "traffic", "/", ">", "_", ":...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1505-L1518
[ "def", "get_top_referrers", "(", "self", ")", ":", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "self", ".", "url", "+", "\"/traffic/popular/referrers\"", ")", "if", "isinstance", "(", "data", ",", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_top_paths
:calls: `GET /repos/:owner/:repo/traffic/popular/paths <https://developer.github.com/v3/repos/traffic/>`_ :rtype: :class:`list` of :class:`github.Path.Path`
github/Repository.py
def get_top_paths(self): """ :calls: `GET /repos/:owner/:repo/traffic/popular/paths <https://developer.github.com/v3/repos/traffic/>`_ :rtype: :class:`list` of :class:`github.Path.Path` """ headers, data = self._requester.requestJsonAndCheck( "GET", self.u...
def get_top_paths(self): """ :calls: `GET /repos/:owner/:repo/traffic/popular/paths <https://developer.github.com/v3/repos/traffic/>`_ :rtype: :class:`list` of :class:`github.Path.Path` """ headers, data = self._requester.requestJsonAndCheck( "GET", self.u...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "traffic", "/", "popular", "/", "paths", "<https", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "traffic", "/", ">", "_", ":", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1520-L1533
[ "def", "get_top_paths", "(", "self", ")", ":", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "self", ".", "url", "+", "\"/traffic/popular/paths\"", ")", "if", "isinstance", "(", "data", ",", "list", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_views_traffic
:calls: `GET /repos/:owner/:repo/traffic/views <https://developer.github.com/v3/repos/traffic/>`_ :param per: string, must be one of day or week, day by default :rtype: None or list of :class:`github.View.View`
github/Repository.py
def get_views_traffic(self, per=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/traffic/views <https://developer.github.com/v3/repos/traffic/>`_ :param per: string, must be one of day or week, day by default :rtype: None or list of :class:`github.View.View` """ ...
def get_views_traffic(self, per=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/traffic/views <https://developer.github.com/v3/repos/traffic/>`_ :param per: string, must be one of day or week, day by default :rtype: None or list of :class:`github.View.View` """ ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "traffic", "/", "views", "<https", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "traffic", "/", ">", "_", ":", "param", "per", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1535-L1555
[ "def", "get_views_traffic", "(", "self", ",", "per", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "assert", "per", "is", "github", ".", "GithubObject", ".", "NotSet", "or", "(", "isinstance", "(", "per", ",", "(", "str", ",", "unicode", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.create_file
Create a file in this repository. :calls: `PUT /repos/:owner/:repo/contents/:path <http://developer.github.com/v3/repos/contents#create-a-file>`_ :param path: string, (required), path of the file in the repository :param message: string, (required), commit message :param content: string...
github/Repository.py
def create_file(self, path, message, content, branch=github.GithubObject.NotSet, committer=github.GithubObject.NotSet, author=github.GithubObject.NotSet): """Create a file in this repository. :calls: `PUT /repos/:owner/:repo/contents/:path <ht...
def create_file(self, path, message, content, branch=github.GithubObject.NotSet, committer=github.GithubObject.NotSet, author=github.GithubObject.NotSet): """Create a file in this repository. :calls: `PUT /repos/:owner/:repo/contents/:path <ht...
[ "Create", "a", "file", "in", "this", "repository", "." ]
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1598-L1655
[ "def", "create_file", "(", "self", ",", "path", ",", "message", ",", "content", ",", "branch", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "committer", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "author", "=", "github", ".", "Git...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.delete_file
This method deletes a file in a repository :calls: `DELETE /repos/:owner/:repo/contents/:path <https://developer.github.com/v3/repos/contents/#delete-a-file>`_ :param path: string, Required. The content path. :param message: string, Required. The commit message. :param sha: string, Requ...
github/Repository.py
def delete_file(self, path, message, sha, branch=github.GithubObject.NotSet, committer=github.GithubObject.NotSet, author=github.GithubObject.NotSet): """This method deletes a file in a repository :calls: `DELETE /repos/:owner/:repo/contents/:...
def delete_file(self, path, message, sha, branch=github.GithubObject.NotSet, committer=github.GithubObject.NotSet, author=github.GithubObject.NotSet): """This method deletes a file in a repository :calls: `DELETE /repos/:owner/:repo/contents/:...
[ "This", "method", "deletes", "a", "file", "in", "a", "repository" ]
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1721-L1769
[ "def", "delete_file", "(", "self", ",", "path", ",", "message", ",", "sha", ",", "branch", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "committer", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "author", "=", "github", ".", "GithubO...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_dir_contents
:calls: `GET /repos/:owner/:repo/contents/:path <http://developer.github.com/v3/repos/contents>`_ :param path: string :param ref: string :rtype: list of :class:`github.ContentFile.ContentFile`
github/Repository.py
def get_dir_contents(self, path, ref=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/contents/:path <http://developer.github.com/v3/repos/contents>`_ :param path: string :param ref: string :rtype: list of :class:`github.ContentFile.ContentFile` """ ...
def get_dir_contents(self, path, ref=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/contents/:path <http://developer.github.com/v3/repos/contents>`_ :param path: string :param ref: string :rtype: list of :class:`github.ContentFile.ContentFile` """ ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "contents", "/", ":", "path", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "contents", ">", "_", ":", "param", "path", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1771-L1800
[ "def", "get_dir_contents", "(", "self", ",", "path", ",", "ref", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "assert", "isinstance", "(", "path", ",", "(", "str", ",", "unicode", ")", ")", ",", "path", "assert", "ref", "is", "github", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_contributors
:calls: `GET /repos/:owner/:repo/contributors <http://developer.github.com/v3/repos>`_ :param anon: string :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser`
github/Repository.py
def get_contributors(self, anon=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/contributors <http://developer.github.com/v3/repos>`_ :param anon: string :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser` """ url_p...
def get_contributors(self, anon=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/contributors <http://developer.github.com/v3/repos>`_ :param anon: string :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser` """ url_p...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "contributors", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", ">", "_", ":", "param", "anon", ":", "string", ":", "rtype", ":...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1802-L1817
[ "def", "get_contributors", "(", "self", ",", "anon", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "url_parameters", "=", "dict", "(", ")", "if", "anon", "is", "not", "github", ".", "GithubObject", ".", "NotSet", ":", "url_parameters", "[", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_download
:calls: `GET /repos/:owner/:repo/downloads/:id <http://developer.github.com/v3/repos/downloads>`_ :param id: integer :rtype: :class:`github.Download.Download`
github/Repository.py
def get_download(self, id): """ :calls: `GET /repos/:owner/:repo/downloads/:id <http://developer.github.com/v3/repos/downloads>`_ :param id: integer :rtype: :class:`github.Download.Download` """ assert isinstance(id, (int, long)), id headers, data = self._requeste...
def get_download(self, id): """ :calls: `GET /repos/:owner/:repo/downloads/:id <http://developer.github.com/v3/repos/downloads>`_ :param id: integer :rtype: :class:`github.Download.Download` """ assert isinstance(id, (int, long)), id headers, data = self._requeste...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "downloads", "/", ":", "id", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "downloads", ">", "_", ":", "param", "id", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1820-L1831
[ "def", "get_download", "(", "self", ",", "id", ")", ":", "assert", "isinstance", "(", "id", ",", "(", "int", ",", "long", ")", ")", ",", "id", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "s...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_downloads
:calls: `GET /repos/:owner/:repo/downloads <http://developer.github.com/v3/repos/downloads>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Download.Download`
github/Repository.py
def get_downloads(self): """ :calls: `GET /repos/:owner/:repo/downloads <http://developer.github.com/v3/repos/downloads>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Download.Download` """ return github.PaginatedList.PaginatedList( github.Do...
def get_downloads(self): """ :calls: `GET /repos/:owner/:repo/downloads <http://developer.github.com/v3/repos/downloads>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Download.Download` """ return github.PaginatedList.PaginatedList( github.Do...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "downloads", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "downloads", ">", "_", ":", "rtype", ":", ":", "class", ":", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1833-L1843
[ "def", "get_downloads", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "Download", ".", "Download", ",", "self", ".", "_requester", ",", "self", ".", "url", "+", "\"/downloads\"", ",", "None", ")"...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_forks
:calls: `GET /repos/:owner/:repo/forks <http://developer.github.com/v3/repos/forks>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Repository.Repository`
github/Repository.py
def get_forks(self): """ :calls: `GET /repos/:owner/:repo/forks <http://developer.github.com/v3/repos/forks>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Repository.Repository` """ return github.PaginatedList.PaginatedList( Repository, ...
def get_forks(self): """ :calls: `GET /repos/:owner/:repo/forks <http://developer.github.com/v3/repos/forks>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Repository.Repository` """ return github.PaginatedList.PaginatedList( Repository, ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "forks", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "forks", ">", "_", ":", "rtype", ":", ":", "class", ":", "githu...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1857-L1867
[ "def", "get_forks", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "Repository", ",", "self", ".", "_requester", ",", "self", ".", "url", "+", "\"/forks\"", ",", "None", ")" ]
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_git_blob
:calls: `GET /repos/:owner/:repo/git/blobs/:sha <http://developer.github.com/v3/git/blobs>`_ :param sha: string :rtype: :class:`github.GitBlob.GitBlob`
github/Repository.py
def get_git_blob(self, sha): """ :calls: `GET /repos/:owner/:repo/git/blobs/:sha <http://developer.github.com/v3/git/blobs>`_ :param sha: string :rtype: :class:`github.GitBlob.GitBlob` """ assert isinstance(sha, (str, unicode)), sha headers, data = self._requester...
def get_git_blob(self, sha): """ :calls: `GET /repos/:owner/:repo/git/blobs/:sha <http://developer.github.com/v3/git/blobs>`_ :param sha: string :rtype: :class:`github.GitBlob.GitBlob` """ assert isinstance(sha, (str, unicode)), sha headers, data = self._requester...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "git", "/", "blobs", "/", ":", "sha", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "git", "/", "blobs", ">", "_", ":", "param", "...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1869-L1880
[ "def", "get_git_blob", "(", "self", ",", "sha", ")", ":", "assert", "isinstance", "(", "sha", ",", "(", "str", ",", "unicode", ")", ")", ",", "sha", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ","...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_git_commit
:calls: `GET /repos/:owner/:repo/git/commits/:sha <http://developer.github.com/v3/git/commits>`_ :param sha: string :rtype: :class:`github.GitCommit.GitCommit`
github/Repository.py
def get_git_commit(self, sha): """ :calls: `GET /repos/:owner/:repo/git/commits/:sha <http://developer.github.com/v3/git/commits>`_ :param sha: string :rtype: :class:`github.GitCommit.GitCommit` """ assert isinstance(sha, (str, unicode)), sha headers, data = self....
def get_git_commit(self, sha): """ :calls: `GET /repos/:owner/:repo/git/commits/:sha <http://developer.github.com/v3/git/commits>`_ :param sha: string :rtype: :class:`github.GitCommit.GitCommit` """ assert isinstance(sha, (str, unicode)), sha headers, data = self....
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "git", "/", "commits", "/", ":", "sha", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "git", "/", "commits", ">", "_", ":", "param",...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1882-L1893
[ "def", "get_git_commit", "(", "self", ",", "sha", ")", ":", "assert", "isinstance", "(", "sha", ",", "(", "str", ",", "unicode", ")", ")", ",", "sha", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", "...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_git_ref
:calls: `GET /repos/:owner/:repo/git/refs/:ref <http://developer.github.com/v3/git/refs>`_ :param ref: string :rtype: :class:`github.GitRef.GitRef`
github/Repository.py
def get_git_ref(self, ref): """ :calls: `GET /repos/:owner/:repo/git/refs/:ref <http://developer.github.com/v3/git/refs>`_ :param ref: string :rtype: :class:`github.GitRef.GitRef` """ prefix = "/git/refs/" if not self._requester.FIX_REPO_GET_GIT_REF: p...
def get_git_ref(self, ref): """ :calls: `GET /repos/:owner/:repo/git/refs/:ref <http://developer.github.com/v3/git/refs>`_ :param ref: string :rtype: :class:`github.GitRef.GitRef` """ prefix = "/git/refs/" if not self._requester.FIX_REPO_GET_GIT_REF: p...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "git", "/", "refs", "/", ":", "ref", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "git", "/", "refs", ">", "_", ":", "param", "re...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1895-L1909
[ "def", "get_git_ref", "(", "self", ",", "ref", ")", ":", "prefix", "=", "\"/git/refs/\"", "if", "not", "self", ".", "_requester", ".", "FIX_REPO_GET_GIT_REF", ":", "prefix", "=", "\"/git/\"", "assert", "isinstance", "(", "ref", ",", "(", "str", ",", "unico...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_git_refs
:calls: `GET /repos/:owner/:repo/git/refs <http://developer.github.com/v3/git/refs>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.GitRef.GitRef`
github/Repository.py
def get_git_refs(self): """ :calls: `GET /repos/:owner/:repo/git/refs <http://developer.github.com/v3/git/refs>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.GitRef.GitRef` """ return github.PaginatedList.PaginatedList( github.GitRef.GitRef, ...
def get_git_refs(self): """ :calls: `GET /repos/:owner/:repo/git/refs <http://developer.github.com/v3/git/refs>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.GitRef.GitRef` """ return github.PaginatedList.PaginatedList( github.GitRef.GitRef, ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "git", "/", "refs", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "git", "/", "refs", ">", "_", ":", "rtype", ":", ":", "class", "...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1911-L1921
[ "def", "get_git_refs", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "GitRef", ".", "GitRef", ",", "self", ".", "_requester", ",", "self", ".", "url", "+", "\"/git/refs\"", ",", "None", ")" ]
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_git_tag
:calls: `GET /repos/:owner/:repo/git/tags/:sha <http://developer.github.com/v3/git/tags>`_ :param sha: string :rtype: :class:`github.GitTag.GitTag`
github/Repository.py
def get_git_tag(self, sha): """ :calls: `GET /repos/:owner/:repo/git/tags/:sha <http://developer.github.com/v3/git/tags>`_ :param sha: string :rtype: :class:`github.GitTag.GitTag` """ assert isinstance(sha, (str, unicode)), sha headers, data = self._requester.requ...
def get_git_tag(self, sha): """ :calls: `GET /repos/:owner/:repo/git/tags/:sha <http://developer.github.com/v3/git/tags>`_ :param sha: string :rtype: :class:`github.GitTag.GitTag` """ assert isinstance(sha, (str, unicode)), sha headers, data = self._requester.requ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "git", "/", "tags", "/", ":", "sha", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "git", "/", "tags", ">", "_", ":", "param", "sh...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1923-L1934
[ "def", "get_git_tag", "(", "self", ",", "sha", ")", ":", "assert", "isinstance", "(", "sha", ",", "(", "str", ",", "unicode", ")", ")", ",", "sha", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",",...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_git_tree
:calls: `GET /repos/:owner/:repo/git/trees/:sha <http://developer.github.com/v3/git/trees>`_ :param sha: string :param recursive: bool :rtype: :class:`github.GitTree.GitTree`
github/Repository.py
def get_git_tree(self, sha, recursive=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/git/trees/:sha <http://developer.github.com/v3/git/trees>`_ :param sha: string :param recursive: bool :rtype: :class:`github.GitTree.GitTree` """ assert isinsta...
def get_git_tree(self, sha, recursive=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/git/trees/:sha <http://developer.github.com/v3/git/trees>`_ :param sha: string :param recursive: bool :rtype: :class:`github.GitTree.GitTree` """ assert isinsta...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "git", "/", "trees", "/", ":", "sha", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "git", "/", "trees", ">", "_", ":", "param", "...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1936-L1954
[ "def", "get_git_tree", "(", "self", ",", "sha", ",", "recursive", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "assert", "isinstance", "(", "sha", ",", "(", "str", ",", "unicode", ")", ")", ",", "sha", "assert", "recursive", "is", "gith...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_issue
:calls: `GET /repos/:owner/:repo/issues/:number <http://developer.github.com/v3/issues>`_ :param number: integer :rtype: :class:`github.Issue.Issue`
github/Repository.py
def get_issue(self, number): """ :calls: `GET /repos/:owner/:repo/issues/:number <http://developer.github.com/v3/issues>`_ :param number: integer :rtype: :class:`github.Issue.Issue` """ assert isinstance(number, (int, long)), number headers, data = self._requester...
def get_issue(self, number): """ :calls: `GET /repos/:owner/:repo/issues/:number <http://developer.github.com/v3/issues>`_ :param number: integer :rtype: :class:`github.Issue.Issue` """ assert isinstance(number, (int, long)), number headers, data = self._requester...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "issues", "/", ":", "number", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "issues", ">", "_", ":", "param", "number", ":", "integer"...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1981-L1992
[ "def", "get_issue", "(", "self", ",", "number", ")", ":", "assert", "isinstance", "(", "number", ",", "(", "int", ",", "long", ")", ")", ",", "number", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_issues
:calls: `GET /repos/:owner/:repo/issues <http://developer.github.com/v3/issues>`_ :param milestone: :class:`github.Milestone.Milestone` or "none" or "*" :param state: string. `open`, `closed`, or `all`. If this is not set the GitHub API default behavior will be used. At the moment this is to return only...
github/Repository.py
def get_issues(self, milestone=github.GithubObject.NotSet, state=github.GithubObject.NotSet, assignee=github.GithubObject.NotSet, mentioned=github.GithubObject.NotSet, labels=github.GithubObject.NotSet, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet, since=github.GithubObject.NotSet, creator=gith...
def get_issues(self, milestone=github.GithubObject.NotSet, state=github.GithubObject.NotSet, assignee=github.GithubObject.NotSet, mentioned=github.GithubObject.NotSet, labels=github.GithubObject.NotSet, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet, since=github.GithubObject.NotSet, creator=gith...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "issues", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "issues", ">", "_", ":", "param", "milestone", ":", ":", "class", ":", "github...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L1994-L2050
[ "def", "get_issues", "(", "self", ",", "milestone", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "state", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "assignee", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "mentioned", "=...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_issues_event
:calls: `GET /repos/:owner/:repo/issues/events/:id <http://developer.github.com/v3/issues/events>`_ :param id: integer :rtype: :class:`github.IssueEvent.IssueEvent`
github/Repository.py
def get_issues_event(self, id): """ :calls: `GET /repos/:owner/:repo/issues/events/:id <http://developer.github.com/v3/issues/events>`_ :param id: integer :rtype: :class:`github.IssueEvent.IssueEvent` """ assert isinstance(id, (int, long)), id headers, data = self...
def get_issues_event(self, id): """ :calls: `GET /repos/:owner/:repo/issues/events/:id <http://developer.github.com/v3/issues/events>`_ :param id: integer :rtype: :class:`github.IssueEvent.IssueEvent` """ assert isinstance(id, (int, long)), id headers, data = self...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "issues", "/", "events", "/", ":", "id", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "issues", "/", "events", ">", "_", ":", "para...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2077-L2089
[ "def", "get_issues_event", "(", "self", ",", "id", ")", ":", "assert", "isinstance", "(", "id", ",", "(", "int", ",", "long", ")", ")", ",", "id", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_keys
:calls: `GET /repos/:owner/:repo/keys <http://developer.github.com/v3/repos/keys>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.RepositoryKey.RepositoryKey`
github/Repository.py
def get_keys(self): """ :calls: `GET /repos/:owner/:repo/keys <http://developer.github.com/v3/repos/keys>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.RepositoryKey.RepositoryKey` """ return github.PaginatedList.PaginatedList( github.Reposit...
def get_keys(self): """ :calls: `GET /repos/:owner/:repo/keys <http://developer.github.com/v3/repos/keys>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.RepositoryKey.RepositoryKey` """ return github.PaginatedList.PaginatedList( github.Reposit...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "keys", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "keys", ">", "_", ":", "rtype", ":", ":", "class", ":", "github"...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2117-L2127
[ "def", "get_keys", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "RepositoryKey", ".", "RepositoryKey", ",", "self", ".", "_requester", ",", "self", ".", "url", "+", "\"/keys\"", ",", "None", ")"...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_label
:calls: `GET /repos/:owner/:repo/labels/:name <http://developer.github.com/v3/issues/labels>`_ :param name: string :rtype: :class:`github.Label.Label`
github/Repository.py
def get_label(self, name): """ :calls: `GET /repos/:owner/:repo/labels/:name <http://developer.github.com/v3/issues/labels>`_ :param name: string :rtype: :class:`github.Label.Label` """ assert isinstance(name, (str, unicode)), name headers, data = self._requester....
def get_label(self, name): """ :calls: `GET /repos/:owner/:repo/labels/:name <http://developer.github.com/v3/issues/labels>`_ :param name: string :rtype: :class:`github.Label.Label` """ assert isinstance(name, (str, unicode)), name headers, data = self._requester....
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "labels", "/", ":", "name", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "issues", "/", "labels", ">", "_", ":", "param", "name", "...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2129-L2140
[ "def", "get_label", "(", "self", ",", "name", ")", ":", "assert", "isinstance", "(", "name", ",", "(", "str", ",", "unicode", ")", ")", ",", "name", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ","...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_languages
:calls: `GET /repos/:owner/:repo/languages <http://developer.github.com/v3/repos>`_ :rtype: dict of string to integer
github/Repository.py
def get_languages(self): """ :calls: `GET /repos/:owner/:repo/languages <http://developer.github.com/v3/repos>`_ :rtype: dict of string to integer """ headers, data = self._requester.requestJsonAndCheck( "GET", self.url + "/languages" ) ret...
def get_languages(self): """ :calls: `GET /repos/:owner/:repo/languages <http://developer.github.com/v3/repos>`_ :rtype: dict of string to integer """ headers, data = self._requester.requestJsonAndCheck( "GET", self.url + "/languages" ) ret...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "languages", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", ">", "_", ":", "rtype", ":", "dict", "of", "string", "to", "intege...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2154-L2163
[ "def", "get_languages", "(", "self", ")", ":", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "self", ".", "url", "+", "\"/languages\"", ")", "return", "data" ]
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_license
:calls: `GET /repos/:owner/:repo/license <https://developer.github.com/v3/licenses>`_ :rtype: :class:`github.ContentFile.ContentFile`
github/Repository.py
def get_license(self): """ :calls: `GET /repos/:owner/:repo/license <https://developer.github.com/v3/licenses>`_ :rtype: :class:`github.ContentFile.ContentFile` """ headers, data = self._requester.requestJsonAndCheck( "GET", self.url + "/license" ...
def get_license(self): """ :calls: `GET /repos/:owner/:repo/license <https://developer.github.com/v3/licenses>`_ :rtype: :class:`github.ContentFile.ContentFile` """ headers, data = self._requester.requestJsonAndCheck( "GET", self.url + "/license" ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "license", "<https", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "licenses", ">", "_", ":", "rtype", ":", ":", "class", ":", "github", ".", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2165-L2175
[ "def", "get_license", "(", "self", ")", ":", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "self", ".", "url", "+", "\"/license\"", ")", "return", "github", ".", "ContentFile", ".", "ContentFile", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_milestone
:calls: `GET /repos/:owner/:repo/milestones/:number <http://developer.github.com/v3/issues/milestones>`_ :param number: integer :rtype: :class:`github.Milestone.Milestone`
github/Repository.py
def get_milestone(self, number): """ :calls: `GET /repos/:owner/:repo/milestones/:number <http://developer.github.com/v3/issues/milestones>`_ :param number: integer :rtype: :class:`github.Milestone.Milestone` """ assert isinstance(number, (int, long)), number head...
def get_milestone(self, number): """ :calls: `GET /repos/:owner/:repo/milestones/:number <http://developer.github.com/v3/issues/milestones>`_ :param number: integer :rtype: :class:`github.Milestone.Milestone` """ assert isinstance(number, (int, long)), number head...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "milestones", "/", ":", "number", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "issues", "/", "milestones", ">", "_", ":", "param", "...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2177-L2188
[ "def", "get_milestone", "(", "self", ",", "number", ")", ":", "assert", "isinstance", "(", "number", ",", "(", "int", ",", "long", ")", ")", ",", "number", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\""...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_milestones
:calls: `GET /repos/:owner/:repo/milestones <http://developer.github.com/v3/issues/milestones>`_ :param state: string :param sort: string :param direction: string :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Milestone.Milestone`
github/Repository.py
def get_milestones(self, state=github.GithubObject.NotSet, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/milestones <http://developer.github.com/v3/issues/milestones>`_ :param state: string :param sort: string :param ...
def get_milestones(self, state=github.GithubObject.NotSet, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/milestones <http://developer.github.com/v3/issues/milestones>`_ :param state: string :param sort: string :param ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "milestones", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "issues", "/", "milestones", ">", "_", ":", "param", "state", ":", "string",...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2190-L2213
[ "def", "get_milestones", "(", "self", ",", "state", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "sort", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "direction", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "assert", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_network_events
:calls: `GET /networks/:owner/:repo/events <http://developer.github.com/v3/activity/events>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Event.Event`
github/Repository.py
def get_network_events(self): """ :calls: `GET /networks/:owner/:repo/events <http://developer.github.com/v3/activity/events>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Event.Event` """ return github.PaginatedList.PaginatedList( github.Eve...
def get_network_events(self): """ :calls: `GET /networks/:owner/:repo/events <http://developer.github.com/v3/activity/events>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Event.Event` """ return github.PaginatedList.PaginatedList( github.Eve...
[ ":", "calls", ":", "GET", "/", "networks", "/", ":", "owner", "/", ":", "repo", "/", "events", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "events", ">", "_", ":", "rtype", ":", ":", "class", ":", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2215-L2225
[ "def", "get_network_events", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "Event", ".", "Event", ",", "self", ".", "_requester", ",", "\"/networks/\"", "+", "self", ".", "owner", ".", "login", "...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_pull
:calls: `GET /repos/:owner/:repo/pulls/:number <http://developer.github.com/v3/pulls>`_ :param number: integer :rtype: :class:`github.PullRequest.PullRequest`
github/Repository.py
def get_pull(self, number): """ :calls: `GET /repos/:owner/:repo/pulls/:number <http://developer.github.com/v3/pulls>`_ :param number: integer :rtype: :class:`github.PullRequest.PullRequest` """ assert isinstance(number, (int, long)), number headers, data = self._...
def get_pull(self, number): """ :calls: `GET /repos/:owner/:repo/pulls/:number <http://developer.github.com/v3/pulls>`_ :param number: integer :rtype: :class:`github.PullRequest.PullRequest` """ assert isinstance(number, (int, long)), number headers, data = self._...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "pulls", "/", ":", "number", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "pulls", ">", "_", ":", "param", "number", ":", "integer", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2227-L2238
[ "def", "get_pull", "(", "self", ",", "number", ")", ":", "assert", "isinstance", "(", "number", ",", "(", "int", ",", "long", ")", ")", ",", "number", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", "...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_pulls
:calls: `GET /repos/:owner/:repo/pulls <http://developer.github.com/v3/pulls>`_ :param state: string :param sort: string :param direction: string :param base: string :param head: string :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.PullRequest.Pull...
github/Repository.py
def get_pulls(self, state=github.GithubObject.NotSet, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet, base=github.GithubObject.NotSet, head=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/pulls <http://developer.github.com/v3/pulls>`_ :param state: string...
def get_pulls(self, state=github.GithubObject.NotSet, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet, base=github.GithubObject.NotSet, head=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/pulls <http://developer.github.com/v3/pulls>`_ :param state: string...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "pulls", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "pulls", ">", "_", ":", "param", "state", ":", "string", ":", "param", "sort", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2240-L2271
[ "def", "get_pulls", "(", "self", ",", "state", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "sort", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "direction", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "base", "=", "gith...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_pulls_comments
:calls: `GET /repos/:owner/:repo/pulls/comments <http://developer.github.com/v3/pulls/comments>`_ :param sort: string :param direction: string :param since: datetime.datetime :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.PullRequestComment.PullRequestComment`
github/Repository.py
def get_pulls_comments(self, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet, since=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/pulls/comments <http://developer.github.com/v3/pulls/comments>`_ :param sort: string :param direction: string ...
def get_pulls_comments(self, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet, since=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/pulls/comments <http://developer.github.com/v3/pulls/comments>`_ :param sort: string :param direction: string ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "pulls", "/", "comments", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "pulls", "/", "comments", ">", "_", ":", "param", "sort", ":",...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2273-L2281
[ "def", "get_pulls_comments", "(", "self", ",", "sort", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "direction", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "since", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "retur...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_pulls_review_comments
:calls: `GET /repos/:owner/:repo/pulls/comments <http://developer.github.com/v3/pulls/comments>`_ :param sort: string :param direction: string :param since: datetime.datetime :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.PullRequestComment.PullRequestComment`
github/Repository.py
def get_pulls_review_comments(self, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet, since=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/pulls/comments <http://developer.github.com/v3/pulls/comments>`_ :param sort: string :param direction: string...
def get_pulls_review_comments(self, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet, since=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/pulls/comments <http://developer.github.com/v3/pulls/comments>`_ :param sort: string :param direction: string...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "pulls", "/", "comments", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "pulls", "/", "comments", ">", "_", ":", "param", "sort", ":",...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2283-L2306
[ "def", "get_pulls_review_comments", "(", "self", ",", "sort", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "direction", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "since", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_readme
:calls: `GET /repos/:owner/:repo/readme <http://developer.github.com/v3/repos/contents>`_ :param ref: string :rtype: :class:`github.ContentFile.ContentFile`
github/Repository.py
def get_readme(self, ref=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/readme <http://developer.github.com/v3/repos/contents>`_ :param ref: string :rtype: :class:`github.ContentFile.ContentFile` """ assert ref is github.GithubObject.NotSet or isinstanc...
def get_readme(self, ref=github.GithubObject.NotSet): """ :calls: `GET /repos/:owner/:repo/readme <http://developer.github.com/v3/repos/contents>`_ :param ref: string :rtype: :class:`github.ContentFile.ContentFile` """ assert ref is github.GithubObject.NotSet or isinstanc...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "readme", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "contents", ">", "_", ":", "param", "ref", ":", "string", ":", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2308-L2323
[ "def", "get_readme", "(", "self", ",", "ref", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "assert", "ref", "is", "github", ".", "GithubObject", ".", "NotSet", "or", "isinstance", "(", "ref", ",", "(", "str", ",", "unicode", ")", ")", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_source_import
:calls: `GET /repos/:owner/:repo/import <https://developer.github.com/v3/migration/source_imports/#get-import-progress>`_ :rtype: :class:`github.SourceImport.SourceImport`
github/Repository.py
def get_source_import(self): """ :calls: `GET /repos/:owner/:repo/import <https://developer.github.com/v3/migration/source_imports/#get-import-progress>`_ :rtype: :class:`github.SourceImport.SourceImport` """ import_header = {"Accept": Consts.mediaTypeImportPreview} heade...
def get_source_import(self): """ :calls: `GET /repos/:owner/:repo/import <https://developer.github.com/v3/migration/source_imports/#get-import-progress>`_ :rtype: :class:`github.SourceImport.SourceImport` """ import_header = {"Accept": Consts.mediaTypeImportPreview} heade...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "import", "<https", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "migration", "/", "source_imports", "/", "#get", "-", "import", "-", "progress", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2325-L2339
[ "def", "get_source_import", "(", "self", ")", ":", "import_header", "=", "{", "\"Accept\"", ":", "Consts", ".", "mediaTypeImportPreview", "}", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "self", ".",...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_stargazers
:calls: `GET /repos/:owner/:repo/stargazers <http://developer.github.com/v3/activity/starring>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser`
github/Repository.py
def get_stargazers(self): """ :calls: `GET /repos/:owner/:repo/stargazers <http://developer.github.com/v3/activity/starring>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser` """ return github.PaginatedList.PaginatedList( git...
def get_stargazers(self): """ :calls: `GET /repos/:owner/:repo/stargazers <http://developer.github.com/v3/activity/starring>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser` """ return github.PaginatedList.PaginatedList( git...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "stargazers", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "starring", ">", "_", ":", "rtype", ":", ":", "class", ":...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2341-L2351
[ "def", "get_stargazers", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "NamedUser", ".", "NamedUser", ",", "self", ".", "_requester", ",", "self", ".", "url", "+", "\"/stargazers\"", ",", "None", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_stargazers_with_dates
:calls: `GET /repos/:owner/:repo/stargazers <http://developer.github.com/v3/activity/starring>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Stargazer.Stargazer`
github/Repository.py
def get_stargazers_with_dates(self): """ :calls: `GET /repos/:owner/:repo/stargazers <http://developer.github.com/v3/activity/starring>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Stargazer.Stargazer` """ return github.PaginatedList.PaginatedList( ...
def get_stargazers_with_dates(self): """ :calls: `GET /repos/:owner/:repo/stargazers <http://developer.github.com/v3/activity/starring>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Stargazer.Stargazer` """ return github.PaginatedList.PaginatedList( ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "stargazers", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "starring", ">", "_", ":", "rtype", ":", ":", "class", ":...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2353-L2364
[ "def", "get_stargazers_with_dates", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "Stargazer", ".", "Stargazer", ",", "self", ".", "_requester", ",", "self", ".", "url", "+", "\"/stargazers\"", ",", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_stats_contributors
:calls: `GET /repos/:owner/:repo/stats/contributors <http://developer.github.com/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts>`_ :rtype: None or list of :class:`github.StatsContributor.StatsContributor`
github/Repository.py
def get_stats_contributors(self): """ :calls: `GET /repos/:owner/:repo/stats/contributors <http://developer.github.com/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts>`_ :rtype: None or list of :class:`github.StatsContributor.StatsContributor` """ ...
def get_stats_contributors(self): """ :calls: `GET /repos/:owner/:repo/stats/contributors <http://developer.github.com/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts>`_ :rtype: None or list of :class:`github.StatsContributor.StatsContributor` """ ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "stats", "/", "contributors", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "statistics", "/", "#get", "-", "contributors", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2366-L2381
[ "def", "get_stats_contributors", "(", "self", ")", ":", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "self", ".", "url", "+", "\"/stats/contributors\"", ")", "if", "not", "data", ":", "return", "Non...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_stats_commit_activity
:calls: `GET /repos/:owner/:repo/stats/commit_activity <developer.github.com/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day>`_ :rtype: None or list of :class:`github.StatsCommitActivity.StatsCommitActivity`
github/Repository.py
def get_stats_commit_activity(self): """ :calls: `GET /repos/:owner/:repo/stats/commit_activity <developer.github.com/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day>`_ :rtype: None or list of :class:`github.StatsCommitActivity.StatsCommitActivity` """ headers...
def get_stats_commit_activity(self): """ :calls: `GET /repos/:owner/:repo/stats/commit_activity <developer.github.com/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day>`_ :rtype: None or list of :class:`github.StatsCommitActivity.StatsCommitActivity` """ headers...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "stats", "/", "commit_activity", "<developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "statistics", "/", "#get", "-", "the", "-", "number", "-", "of...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2383-L2398
[ "def", "get_stats_commit_activity", "(", "self", ")", ":", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "self", ".", "url", "+", "\"/stats/commit_activity\"", ")", "if", "not", "data", ":", "return", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_stats_code_frequency
:calls: `GET /repos/:owner/:repo/stats/code_frequency <http://developer.github.com/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week>`_ :rtype: None or list of :class:`github.StatsCodeFrequency.StatsCodeFrequency`
github/Repository.py
def get_stats_code_frequency(self): """ :calls: `GET /repos/:owner/:repo/stats/code_frequency <http://developer.github.com/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week>`_ :rtype: None or list of :class:`github.StatsCodeFrequency.StatsCodeFrequency` """ ...
def get_stats_code_frequency(self): """ :calls: `GET /repos/:owner/:repo/stats/code_frequency <http://developer.github.com/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week>`_ :rtype: None or list of :class:`github.StatsCodeFrequency.StatsCodeFrequency` """ ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "stats", "/", "code_frequency", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "statistics", "/", "#get", "-", "the", "-", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2400-L2415
[ "def", "get_stats_code_frequency", "(", "self", ")", ":", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "self", ".", "url", "+", "\"/stats/code_frequency\"", ")", "if", "not", "data", ":", "return", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_stats_participation
:calls: `GET /repos/:owner/:repo/stats/participation <http://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repo-owner-and-everyone-else>`_ :rtype: None or :class:`github.StatsParticipation.StatsParticipation`
github/Repository.py
def get_stats_participation(self): """ :calls: `GET /repos/:owner/:repo/stats/participation <http://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repo-owner-and-everyone-else>`_ :rtype: None or :class:`github.StatsParticipation.StatsParticipation` """ ...
def get_stats_participation(self): """ :calls: `GET /repos/:owner/:repo/stats/participation <http://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repo-owner-and-everyone-else>`_ :rtype: None or :class:`github.StatsParticipation.StatsParticipation` """ ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "stats", "/", "participation", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "statistics", "/", "#get", "-", "the", "-", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2417-L2429
[ "def", "get_stats_participation", "(", "self", ")", ":", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "self", ".", "url", "+", "\"/stats/participation\"", ")", "if", "not", "data", ":", "return", "N...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_stats_punch_card
:calls: `GET /repos/:owner/:repo/stats/punch_card <http://developer.github.com/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day>`_ :rtype: None or :class:`github.StatsPunchCard.StatsPunchCard`
github/Repository.py
def get_stats_punch_card(self): """ :calls: `GET /repos/:owner/:repo/stats/punch_card <http://developer.github.com/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day>`_ :rtype: None or :class:`github.StatsPunchCard.StatsPunchCard` """ headers, data = self._reques...
def get_stats_punch_card(self): """ :calls: `GET /repos/:owner/:repo/stats/punch_card <http://developer.github.com/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day>`_ :rtype: None or :class:`github.StatsPunchCard.StatsPunchCard` """ headers, data = self._reques...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "stats", "/", "punch_card", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "statistics", "/", "#get", "-", "the", "-", "n...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2431-L2443
[ "def", "get_stats_punch_card", "(", "self", ")", ":", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "self", ".", "url", "+", "\"/stats/punch_card\"", ")", "if", "not", "data", ":", "return", "None", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_subscribers
:calls: `GET /repos/:owner/:repo/subscribers <http://developer.github.com/v3/activity/watching>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser`
github/Repository.py
def get_subscribers(self): """ :calls: `GET /repos/:owner/:repo/subscribers <http://developer.github.com/v3/activity/watching>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser` """ return github.PaginatedList.PaginatedList( g...
def get_subscribers(self): """ :calls: `GET /repos/:owner/:repo/subscribers <http://developer.github.com/v3/activity/watching>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser` """ return github.PaginatedList.PaginatedList( g...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "subscribers", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "watching", ">", "_", ":", "rtype", ":", ":", "class", "...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2445-L2455
[ "def", "get_subscribers", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "NamedUser", ".", "NamedUser", ",", "self", ".", "_requester", ",", "self", ".", "url", "+", "\"/subscribers\"", ",", "None",...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_tags
:calls: `GET /repos/:owner/:repo/tags <http://developer.github.com/v3/repos>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Tag.Tag`
github/Repository.py
def get_tags(self): """ :calls: `GET /repos/:owner/:repo/tags <http://developer.github.com/v3/repos>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Tag.Tag` """ return github.PaginatedList.PaginatedList( github.Tag.Tag, self._reque...
def get_tags(self): """ :calls: `GET /repos/:owner/:repo/tags <http://developer.github.com/v3/repos>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Tag.Tag` """ return github.PaginatedList.PaginatedList( github.Tag.Tag, self._reque...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "tags", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", ">", "_", ":", "rtype", ":", ":", "class", ":", "github", ".", "Pagin...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2457-L2467
[ "def", "get_tags", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "Tag", ".", "Tag", ",", "self", ".", "_requester", ",", "self", ".", "url", "+", "\"/tags\"", ",", "None", ")" ]
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_releases
:calls: `GET /repos/:owner/:repo/releases <http://developer.github.com/v3/repos>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.GitRelease.GitRelease`
github/Repository.py
def get_releases(self): """ :calls: `GET /repos/:owner/:repo/releases <http://developer.github.com/v3/repos>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.GitRelease.GitRelease` """ return github.PaginatedList.PaginatedList( github.GitRelease...
def get_releases(self): """ :calls: `GET /repos/:owner/:repo/releases <http://developer.github.com/v3/repos>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.GitRelease.GitRelease` """ return github.PaginatedList.PaginatedList( github.GitRelease...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "releases", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", ">", "_", ":", "rtype", ":", ":", "class", ":", "github", ".", "P...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2469-L2479
[ "def", "get_releases", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "GitRelease", ".", "GitRelease", ",", "self", ".", "_requester", ",", "self", ".", "url", "+", "\"/releases\"", ",", "None", "...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_release
:calls: `GET /repos/:owner/:repo/releases/:id <https://developer.github.com/v3/repos/releases/#get-a-single-release>`_ :param id: int (release id), str (tag name) :rtype: None or :class:`github.GitRelease.GitRelease`
github/Repository.py
def get_release(self, id): """ :calls: `GET /repos/:owner/:repo/releases/:id <https://developer.github.com/v3/repos/releases/#get-a-single-release>`_ :param id: int (release id), str (tag name) :rtype: None or :class:`github.GitRelease.GitRelease` """ if isinstance(id, in...
def get_release(self, id): """ :calls: `GET /repos/:owner/:repo/releases/:id <https://developer.github.com/v3/repos/releases/#get-a-single-release>`_ :param id: int (release id), str (tag name) :rtype: None or :class:`github.GitRelease.GitRelease` """ if isinstance(id, in...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "releases", "/", ":", "id", "<https", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "releases", "/", "#get", "-", "a", "-", "si...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2481-L2498
[ "def", "get_release", "(", "self", ",", "id", ")", ":", "if", "isinstance", "(", "id", ",", "int", ")", ":", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "self", ".", "url", "+", "\"/releases/...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_topics
:calls: `GET /repos/:owner/:repo/topics <https://developer.github.com/v3/repos/#list-all-topics-for-a-repository>`_ :rtype: list of strings
github/Repository.py
def get_topics(self): """ :calls: `GET /repos/:owner/:repo/topics <https://developer.github.com/v3/repos/#list-all-topics-for-a-repository>`_ :rtype: list of strings """ headers, data = self._requester.requestJsonAndCheck( "GET", self.url + "/topics", ...
def get_topics(self): """ :calls: `GET /repos/:owner/:repo/topics <https://developer.github.com/v3/repos/#list-all-topics-for-a-repository>`_ :rtype: list of strings """ headers, data = self._requester.requestJsonAndCheck( "GET", self.url + "/topics", ...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "topics", "<https", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "#list", "-", "all", "-", "topics", "-", "for", "-", "a", "-"...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2523-L2533
[ "def", "get_topics", "(", "self", ")", ":", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "self", ".", "url", "+", "\"/topics\"", ",", "headers", "=", "{", "'Accept'", ":", "Consts", ".", "mediaT...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.get_watchers
:calls: `GET /repos/:owner/:repo/watchers <http://developer.github.com/v3/activity/starring>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser`
github/Repository.py
def get_watchers(self): """ :calls: `GET /repos/:owner/:repo/watchers <http://developer.github.com/v3/activity/starring>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser` """ return github.PaginatedList.PaginatedList( github....
def get_watchers(self): """ :calls: `GET /repos/:owner/:repo/watchers <http://developer.github.com/v3/activity/starring>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser` """ return github.PaginatedList.PaginatedList( github....
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "watchers", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "starring", ">", "_", ":", "rtype", ":", ":", "class", ":",...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2535-L2545
[ "def", "get_watchers", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "NamedUser", ".", "NamedUser", ",", "self", ".", "_requester", ",", "self", ".", "url", "+", "\"/watchers\"", ",", "None", ")"...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.has_in_assignees
:calls: `GET /repos/:owner/:repo/assignees/:assignee <http://developer.github.com/v3/issues/assignees>`_ :param assignee: string or :class:`github.NamedUser.NamedUser` :rtype: bool
github/Repository.py
def has_in_assignees(self, assignee): """ :calls: `GET /repos/:owner/:repo/assignees/:assignee <http://developer.github.com/v3/issues/assignees>`_ :param assignee: string or :class:`github.NamedUser.NamedUser` :rtype: bool """ assert isinstance(assignee, github.NamedUser....
def has_in_assignees(self, assignee): """ :calls: `GET /repos/:owner/:repo/assignees/:assignee <http://developer.github.com/v3/issues/assignees>`_ :param assignee: string or :class:`github.NamedUser.NamedUser` :rtype: bool """ assert isinstance(assignee, github.NamedUser....
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "assignees", "/", ":", "assignee", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "issues", "/", "assignees", ">", "_", ":", "param", "...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2547-L2562
[ "def", "has_in_assignees", "(", "self", ",", "assignee", ")", ":", "assert", "isinstance", "(", "assignee", ",", "github", ".", "NamedUser", ".", "NamedUser", ")", "or", "isinstance", "(", "assignee", ",", "(", "str", ",", "unicode", ")", ")", ",", "assi...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.has_in_collaborators
:calls: `GET /repos/:owner/:repo/collaborators/:user <http://developer.github.com/v3/repos/collaborators>`_ :param collaborator: string or :class:`github.NamedUser.NamedUser` :rtype: bool
github/Repository.py
def has_in_collaborators(self, collaborator): """ :calls: `GET /repos/:owner/:repo/collaborators/:user <http://developer.github.com/v3/repos/collaborators>`_ :param collaborator: string or :class:`github.NamedUser.NamedUser` :rtype: bool """ assert isinstance(collaborator...
def has_in_collaborators(self, collaborator): """ :calls: `GET /repos/:owner/:repo/collaborators/:user <http://developer.github.com/v3/repos/collaborators>`_ :param collaborator: string or :class:`github.NamedUser.NamedUser` :rtype: bool """ assert isinstance(collaborator...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "collaborators", "/", ":", "user", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "collaborators", ">", "_", ":", "param", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2564-L2579
[ "def", "has_in_collaborators", "(", "self", ",", "collaborator", ")", ":", "assert", "isinstance", "(", "collaborator", ",", "github", ".", "NamedUser", ".", "NamedUser", ")", "or", "isinstance", "(", "collaborator", ",", "(", "str", ",", "unicode", ")", ")"...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.legacy_search_issues
:calls: `GET /legacy/issues/search/:owner/:repository/:state/:keyword <http://developer.github.com/v3/search/legacy>`_ :param state: "open" or "closed" :param keyword: string :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Issue.Issue`
github/Repository.py
def legacy_search_issues(self, state, keyword): """ :calls: `GET /legacy/issues/search/:owner/:repository/:state/:keyword <http://developer.github.com/v3/search/legacy>`_ :param state: "open" or "closed" :param keyword: string :rtype: :class:`github.PaginatedList.PaginatedList` o...
def legacy_search_issues(self, state, keyword): """ :calls: `GET /legacy/issues/search/:owner/:repository/:state/:keyword <http://developer.github.com/v3/search/legacy>`_ :param state: "open" or "closed" :param keyword: string :rtype: :class:`github.PaginatedList.PaginatedList` o...
[ ":", "calls", ":", "GET", "/", "legacy", "/", "issues", "/", "search", "/", ":", "owner", "/", ":", "repository", "/", ":", "state", "/", ":", "keyword", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "search", "/", "...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2581-L2597
[ "def", "legacy_search_issues", "(", "self", ",", "state", ",", "keyword", ")", ":", "assert", "state", "in", "[", "\"open\"", ",", "\"closed\"", "]", ",", "state", "assert", "isinstance", "(", "keyword", ",", "(", "str", ",", "unicode", ")", ")", ",", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.merge
:calls: `POST /repos/:owner/:repo/merges <http://developer.github.com/v3/repos/merging>`_ :param base: string :param head: string :param commit_message: string :rtype: :class:`github.Commit.Commit`
github/Repository.py
def merge(self, base, head, commit_message=github.GithubObject.NotSet): """ :calls: `POST /repos/:owner/:repo/merges <http://developer.github.com/v3/repos/merging>`_ :param base: string :param head: string :param commit_message: string :rtype: :class:`github.Commit.Commit...
def merge(self, base, head, commit_message=github.GithubObject.NotSet): """ :calls: `POST /repos/:owner/:repo/merges <http://developer.github.com/v3/repos/merging>`_ :param base: string :param head: string :param commit_message: string :rtype: :class:`github.Commit.Commit...
[ ":", "calls", ":", "POST", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "merges", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", "/", "merging", ">", "_", ":", "param", "base", ":", "string", ":", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2615-L2640
[ "def", "merge", "(", "self", ",", "base", ",", "head", ",", "commit_message", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "assert", "isinstance", "(", "base", ",", "(", "str", ",", "unicode", ")", ")", ",", "base", "assert", "isinstanc...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.replace_topics
:calls: `PUT /repos/:owner/:repo/topics <http://developer.github.com/v3/repos>`_ :param topics: list of strings :rtype: None
github/Repository.py
def replace_topics(self, topics): """ :calls: `PUT /repos/:owner/:repo/topics <http://developer.github.com/v3/repos>`_ :param topics: list of strings :rtype: None """ post_parameters = { 'names': topics } headers, data = self._requester.request...
def replace_topics(self, topics): """ :calls: `PUT /repos/:owner/:repo/topics <http://developer.github.com/v3/repos>`_ :param topics: list of strings :rtype: None """ post_parameters = { 'names': topics } headers, data = self._requester.request...
[ ":", "calls", ":", "PUT", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "topics", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", ">", "_", ":", "param", "topics", ":", "list", "of", "strings", ":", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2642-L2656
[ "def", "replace_topics", "(", "self", ",", "topics", ")", ":", "post_parameters", "=", "{", "'names'", ":", "topics", "}", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"PUT\"", ",", "self", ".", "url", "+", "...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.subscribe_to_hub
:calls: `POST /hub <http://developer.github.com/>`_ :param event: string :param callback: string :param secret: string :rtype: None
github/Repository.py
def subscribe_to_hub(self, event, callback, secret=github.GithubObject.NotSet): """ :calls: `POST /hub <http://developer.github.com/>`_ :param event: string :param callback: string :param secret: string :rtype: None """ return self._hub("subscribe", event,...
def subscribe_to_hub(self, event, callback, secret=github.GithubObject.NotSet): """ :calls: `POST /hub <http://developer.github.com/>`_ :param event: string :param callback: string :param secret: string :rtype: None """ return self._hub("subscribe", event,...
[ ":", "calls", ":", "POST", "/", "hub", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", ">", "_", ":", "param", "event", ":", "string", ":", "param", "callback", ":", "string", ":", "param", "secret", ":", "string", ":", "rtype", ":...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2674-L2682
[ "def", "subscribe_to_hub", "(", "self", ",", "event", ",", "callback", ",", "secret", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "return", "self", ".", "_hub", "(", "\"subscribe\"", ",", "event", ",", "callback", ",", "secret", ")" ]
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Repository.unsubscribe_from_hub
:calls: `POST /hub <http://developer.github.com/>`_ :param event: string :param callback: string :param secret: string :rtype: None
github/Repository.py
def unsubscribe_from_hub(self, event, callback): """ :calls: `POST /hub <http://developer.github.com/>`_ :param event: string :param callback: string :param secret: string :rtype: None """ return self._hub("unsubscribe", event, callback, github.GithubObjec...
def unsubscribe_from_hub(self, event, callback): """ :calls: `POST /hub <http://developer.github.com/>`_ :param event: string :param callback: string :param secret: string :rtype: None """ return self._hub("unsubscribe", event, callback, github.GithubObjec...
[ ":", "calls", ":", "POST", "/", "hub", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", ">", "_", ":", "param", "event", ":", "string", ":", "param", "callback", ":", "string", ":", "param", "secret", ":", "string", ":", "rtype", ":...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Repository.py#L2684-L2692
[ "def", "unsubscribe_from_hub", "(", "self", ",", "event", ",", "callback", ")", ":", "return", "self", ".", "_hub", "(", "\"unsubscribe\"", ",", "event", ",", "callback", ",", "github", ".", "GithubObject", ".", "NotSet", ")" ]
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Migration.get_status
:calls: `GET /user/migrations/:migration_id`_ :rtype: str
github/Migration.py
def get_status(self): """ :calls: `GET /user/migrations/:migration_id`_ :rtype: str """ headers, data = self._requester.requestJsonAndCheck( "GET", self.url, headers={ "Accept": Consts.mediaTypeMigrationPreview } ...
def get_status(self): """ :calls: `GET /user/migrations/:migration_id`_ :rtype: str """ headers, data = self._requester.requestJsonAndCheck( "GET", self.url, headers={ "Accept": Consts.mediaTypeMigrationPreview } ...
[ ":", "calls", ":", "GET", "/", "user", "/", "migrations", "/", ":", "migration_id", "_", ":", "rtype", ":", "str" ]
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Migration.py#L131-L144
[ "def", "get_status", "(", "self", ")", ":", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "self", ".", "url", ",", "headers", "=", "{", "\"Accept\"", ":", "Consts", ".", "mediaTypeMigrationPreview", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Migration.get_archive_url
:calls: `GET /user/migrations/:migration_id/archive`_ :rtype: str
github/Migration.py
def get_archive_url(self): """ :calls: `GET /user/migrations/:migration_id/archive`_ :rtype: str """ headers, data = self._requester.requestJsonAndCheck( "GET", self.url + "/archive", headers={ "Accept": Consts.mediaTypeMigratio...
def get_archive_url(self): """ :calls: `GET /user/migrations/:migration_id/archive`_ :rtype: str """ headers, data = self._requester.requestJsonAndCheck( "GET", self.url + "/archive", headers={ "Accept": Consts.mediaTypeMigratio...
[ ":", "calls", ":", "GET", "/", "user", "/", "migrations", "/", ":", "migration_id", "/", "archive", "_", ":", "rtype", ":", "str" ]
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Migration.py#L146-L158
[ "def", "get_archive_url", "(", "self", ")", ":", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "self", ".", "url", "+", "\"/archive\"", ",", "headers", "=", "{", "\"Accept\"", ":", "Consts", ".", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Migration.unlock_repo
:calls: `DELETE /user/migrations/:migration_id/repos/:repo_name/lock`_ :param repo_name: str :rtype: None
github/Migration.py
def unlock_repo(self, repo_name): """ :calls: `DELETE /user/migrations/:migration_id/repos/:repo_name/lock`_ :param repo_name: str :rtype: None """ assert isinstance(repo_name, (str, unicode)), repo_name headers, data = self._requester.requestJsonAndCheck( ...
def unlock_repo(self, repo_name): """ :calls: `DELETE /user/migrations/:migration_id/repos/:repo_name/lock`_ :param repo_name: str :rtype: None """ assert isinstance(repo_name, (str, unicode)), repo_name headers, data = self._requester.requestJsonAndCheck( ...
[ ":", "calls", ":", "DELETE", "/", "user", "/", "migrations", "/", ":", "migration_id", "/", "repos", "/", ":", "repo_name", "/", "lock", "_", ":", "param", "repo_name", ":", "str", ":", "rtype", ":", "None" ]
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Migration.py#L172-L185
[ "def", "unlock_repo", "(", "self", ",", "repo_name", ")", ":", "assert", "isinstance", "(", "repo_name", ",", "(", "str", ",", "unicode", ")", ")", ",", "repo_name", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Project.get_columns
:calls: `GET /projects/:project_id/columns <https://developer.github.com/v3/projects/columns/#list-project-columns>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.ProjectColumn.ProjectColumn`
github/Project.py
def get_columns(self): """ :calls: `GET /projects/:project_id/columns <https://developer.github.com/v3/projects/columns/#list-project-columns>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.ProjectColumn.ProjectColumn` """ return github.PaginatedList.Pag...
def get_columns(self): """ :calls: `GET /projects/:project_id/columns <https://developer.github.com/v3/projects/columns/#list-project-columns>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.ProjectColumn.ProjectColumn` """ return github.PaginatedList.Pag...
[ ":", "calls", ":", "GET", "/", "projects", "/", ":", "project_id", "/", "columns", "<https", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "projects", "/", "columns", "/", "#list", "-", "project", "-", "columns", ">", "_", ":", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Project.py#L146-L158
[ "def", "get_columns", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "ProjectColumn", ".", "ProjectColumn", ",", "self", ".", "_requester", ",", "self", ".", "columns_url", ",", "None", ",", "{", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
Project.create_column
calls: `POST https://developer.github.com/v3/projects/columns/#create-a-project-column>`_ :param name: string
github/Project.py
def create_column(self, name): """ calls: `POST https://developer.github.com/v3/projects/columns/#create-a-project-column>`_ :param name: string """ assert isinstance(name, (str, unicode)), name post_parameters = {"name": name} import_header = {"Accept": Consts.me...
def create_column(self, name): """ calls: `POST https://developer.github.com/v3/projects/columns/#create-a-project-column>`_ :param name: string """ assert isinstance(name, (str, unicode)), name post_parameters = {"name": name} import_header = {"Accept": Consts.me...
[ "calls", ":", "POST", "https", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "projects", "/", "columns", "/", "#create", "-", "a", "-", "project", "-", "column", ">", "_", ":", "param", "name", ":", "string" ]
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/Project.py#L160-L174
[ "def", "create_column", "(", "self", ",", "name", ")", ":", "assert", "isinstance", "(", "name", ",", "(", "str", ",", "unicode", ")", ")", ",", "name", "post_parameters", "=", "{", "\"name\"", ":", "name", "}", "import_header", "=", "{", "\"Accept\"", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.add_to_emails
:calls: `POST /user/emails <http://developer.github.com/v3/users/emails>`_ :param email: string :rtype: None
github/AuthenticatedUser.py
def add_to_emails(self, *emails): """ :calls: `POST /user/emails <http://developer.github.com/v3/users/emails>`_ :param email: string :rtype: None """ assert all(isinstance(element, (str, unicode)) for element in emails), emails post_parameters = emails he...
def add_to_emails(self, *emails): """ :calls: `POST /user/emails <http://developer.github.com/v3/users/emails>`_ :param email: string :rtype: None """ assert all(isinstance(element, (str, unicode)) for element in emails), emails post_parameters = emails he...
[ ":", "calls", ":", "POST", "/", "user", "/", "emails", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "users", "/", "emails", ">", "_", ":", "param", "email", ":", "string", ":", "rtype", ":", "None" ]
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L369-L381
[ "def", "add_to_emails", "(", "self", ",", "*", "emails", ")", ":", "assert", "all", "(", "isinstance", "(", "element", ",", "(", "str", ",", "unicode", ")", ")", "for", "element", "in", "emails", ")", ",", "emails", "post_parameters", "=", "emails", "h...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.add_to_following
:calls: `PUT /user/following/:user <http://developer.github.com/v3/users/followers>`_ :param following: :class:`github.NamedUser.NamedUser` :rtype: None
github/AuthenticatedUser.py
def add_to_following(self, following): """ :calls: `PUT /user/following/:user <http://developer.github.com/v3/users/followers>`_ :param following: :class:`github.NamedUser.NamedUser` :rtype: None """ assert isinstance(following, github.NamedUser.NamedUser), following ...
def add_to_following(self, following): """ :calls: `PUT /user/following/:user <http://developer.github.com/v3/users/followers>`_ :param following: :class:`github.NamedUser.NamedUser` :rtype: None """ assert isinstance(following, github.NamedUser.NamedUser), following ...
[ ":", "calls", ":", "PUT", "/", "user", "/", "following", "/", ":", "user", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "users", "/", "followers", ">", "_", ":", "param", "following", ":", ":", "class", ":", "github",...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L383-L393
[ "def", "add_to_following", "(", "self", ",", "following", ")", ":", "assert", "isinstance", "(", "following", ",", "github", ".", "NamedUser", ".", "NamedUser", ")", ",", "following", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonA...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.add_to_starred
:calls: `PUT /user/starred/:owner/:repo <http://developer.github.com/v3/activity/starring>`_ :param starred: :class:`github.Repository.Repository` :rtype: None
github/AuthenticatedUser.py
def add_to_starred(self, starred): """ :calls: `PUT /user/starred/:owner/:repo <http://developer.github.com/v3/activity/starring>`_ :param starred: :class:`github.Repository.Repository` :rtype: None """ assert isinstance(starred, github.Repository.Repository), starred ...
def add_to_starred(self, starred): """ :calls: `PUT /user/starred/:owner/:repo <http://developer.github.com/v3/activity/starring>`_ :param starred: :class:`github.Repository.Repository` :rtype: None """ assert isinstance(starred, github.Repository.Repository), starred ...
[ ":", "calls", ":", "PUT", "/", "user", "/", "starred", "/", ":", "owner", "/", ":", "repo", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "starring", ">", "_", ":", "param", "starred", ":", ":", "cla...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L395-L405
[ "def", "add_to_starred", "(", "self", ",", "starred", ")", ":", "assert", "isinstance", "(", "starred", ",", "github", ".", "Repository", ".", "Repository", ")", ",", "starred", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndChec...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.add_to_watched
:calls: `PUT /repos/:owner/:repo/subscription <http://developer.github.com/v3/activity/watching>`_ :param watched: :class:`github.Repository.Repository` :rtype: None
github/AuthenticatedUser.py
def add_to_watched(self, watched): """ :calls: `PUT /repos/:owner/:repo/subscription <http://developer.github.com/v3/activity/watching>`_ :param watched: :class:`github.Repository.Repository` :rtype: None """ assert isinstance(watched, github.Repository.Repository), watch...
def add_to_watched(self, watched): """ :calls: `PUT /repos/:owner/:repo/subscription <http://developer.github.com/v3/activity/watching>`_ :param watched: :class:`github.Repository.Repository` :rtype: None """ assert isinstance(watched, github.Repository.Repository), watch...
[ ":", "calls", ":", "PUT", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "subscription", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "watching", ">", "_", ":", "param", "watched", ":", ":", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L419-L430
[ "def", "add_to_watched", "(", "self", ",", "watched", ")", ":", "assert", "isinstance", "(", "watched", ",", "github", ".", "Repository", ".", "Repository", ")", ",", "watched", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndChec...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.create_authorization
:calls: `POST /authorizations <http://developer.github.com/v3/oauth>`_ :param scopes: list of string :param note: string :param note_url: string :param client_id: string :param client_secret: string :param onetime_password: string :rtype: :class:`github.Authorizat...
github/AuthenticatedUser.py
def create_authorization(self, scopes=github.GithubObject.NotSet, note=github.GithubObject.NotSet, note_url=github.GithubObject.NotSet, client_id=github.GithubObject.NotSet, client_secret=github.GithubObject.NotSet, onetime_password=None): """ :calls: `POST /authorizations <http://developer.github.com/v...
def create_authorization(self, scopes=github.GithubObject.NotSet, note=github.GithubObject.NotSet, note_url=github.GithubObject.NotSet, client_id=github.GithubObject.NotSet, client_secret=github.GithubObject.NotSet, onetime_password=None): """ :calls: `POST /authorizations <http://developer.github.com/v...
[ ":", "calls", ":", "POST", "/", "authorizations", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "oauth", ">", "_", ":", "param", "scopes", ":", "list", "of", "string", ":", "param", "note", ":", "string", ":", "param", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L432-L470
[ "def", "create_authorization", "(", "self", ",", "scopes", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "note", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "note_url", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "client_id"...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.create_gist
:calls: `POST /gists <http://developer.github.com/v3/gists>`_ :param public: bool :param files: dict of string to :class:`github.InputFileContent.InputFileContent` :param description: string :rtype: :class:`github.Gist.Gist`
github/AuthenticatedUser.py
def create_gist(self, public, files, description=github.GithubObject.NotSet): """ :calls: `POST /gists <http://developer.github.com/v3/gists>`_ :param public: bool :param files: dict of string to :class:`github.InputFileContent.InputFileContent` :param description: string ...
def create_gist(self, public, files, description=github.GithubObject.NotSet): """ :calls: `POST /gists <http://developer.github.com/v3/gists>`_ :param public: bool :param files: dict of string to :class:`github.InputFileContent.InputFileContent` :param description: string ...
[ ":", "calls", ":", "POST", "/", "gists", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "gists", ">", "_", ":", "param", "public", ":", "bool", ":", "param", "files", ":", "dict", "of", "string", "to", ":", "class", "...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L485-L507
[ "def", "create_gist", "(", "self", ",", "public", ",", "files", ",", "description", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "assert", "isinstance", "(", "public", ",", "bool", ")", ",", "public", "assert", "all", "(", "isinstance", "...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.create_key
:calls: `POST /user/keys <http://developer.github.com/v3/users/keys>`_ :param title: string :param key: string :rtype: :class:`github.UserKey.UserKey`
github/AuthenticatedUser.py
def create_key(self, title, key): """ :calls: `POST /user/keys <http://developer.github.com/v3/users/keys>`_ :param title: string :param key: string :rtype: :class:`github.UserKey.UserKey` """ assert isinstance(title, (str, unicode)), title assert isinstan...
def create_key(self, title, key): """ :calls: `POST /user/keys <http://developer.github.com/v3/users/keys>`_ :param title: string :param key: string :rtype: :class:`github.UserKey.UserKey` """ assert isinstance(title, (str, unicode)), title assert isinstan...
[ ":", "calls", ":", "POST", "/", "user", "/", "keys", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "users", "/", "keys", ">", "_", ":", "param", "title", ":", "string", ":", "param", "key", ":", "string", ":", "rtype...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L509-L527
[ "def", "create_key", "(", "self", ",", "title", ",", "key", ")", ":", "assert", "isinstance", "(", "title", ",", "(", "str", ",", "unicode", ")", ")", ",", "title", "assert", "isinstance", "(", "key", ",", "(", "str", ",", "unicode", ")", ")", ",",...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.create_repo
:calls: `POST /user/repos <http://developer.github.com/v3/repos>`_ :param name: string :param description: string :param homepage: string :param private: bool :param has_issues: bool :param has_wiki: bool :param has_downloads: bool :param has_projects: boo...
github/AuthenticatedUser.py
def create_repo(self, name, description=github.GithubObject.NotSet, homepage=github.GithubObject.NotSet, private=github.GithubObject.NotSet, has_issues=github.GithubObject.NotSet, has_wiki=github.GithubObject.NotSet, has_downloads=github.GithubObject.NotSet, h...
def create_repo(self, name, description=github.GithubObject.NotSet, homepage=github.GithubObject.NotSet, private=github.GithubObject.NotSet, has_issues=github.GithubObject.NotSet, has_wiki=github.GithubObject.NotSet, has_downloads=github.GithubObject.NotSet, h...
[ ":", "calls", ":", "POST", "/", "user", "/", "repos", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", ">", "_", ":", "param", "name", ":", "string", ":", "param", "description", ":", "string", ":", "param", "hom...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L529-L601
[ "def", "create_repo", "(", "self", ",", "name", ",", "description", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "homepage", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "private", "=", "github", ".", "GithubObject", ".", "NotSet", ",...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.edit
:calls: `PATCH /user <http://developer.github.com/v3/users>`_ :param name: string :param email: string :param blog: string :param company: string :param location: string :param hireable: bool :param bio: string :rtype: None
github/AuthenticatedUser.py
def edit(self, name=github.GithubObject.NotSet, email=github.GithubObject.NotSet, blog=github.GithubObject.NotSet, company=github.GithubObject.NotSet, location=github.GithubObject.NotSet, hireable=github.GithubObject.NotSet, bio=github.GithubObject.NotSet): """ :calls: `PATCH /user <http://developer.git...
def edit(self, name=github.GithubObject.NotSet, email=github.GithubObject.NotSet, blog=github.GithubObject.NotSet, company=github.GithubObject.NotSet, location=github.GithubObject.NotSet, hireable=github.GithubObject.NotSet, bio=github.GithubObject.NotSet): """ :calls: `PATCH /user <http://developer.git...
[ ":", "calls", ":", "PATCH", "/", "user", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "users", ">", "_", ":", "param", "name", ":", "string", ":", "param", "email", ":", "string", ":", "param", "blog", ":", "string", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L603-L642
[ "def", "edit", "(", "self", ",", "name", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "email", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "blog", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "company", "=", "github", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.get_authorization
:calls: `GET /authorizations/:id <http://developer.github.com/v3/oauth>`_ :param id: integer :rtype: :class:`github.Authorization.Authorization`
github/AuthenticatedUser.py
def get_authorization(self, id): """ :calls: `GET /authorizations/:id <http://developer.github.com/v3/oauth>`_ :param id: integer :rtype: :class:`github.Authorization.Authorization` """ assert isinstance(id, (int, long)), id headers, data = self._requester.request...
def get_authorization(self, id): """ :calls: `GET /authorizations/:id <http://developer.github.com/v3/oauth>`_ :param id: integer :rtype: :class:`github.Authorization.Authorization` """ assert isinstance(id, (int, long)), id headers, data = self._requester.request...
[ ":", "calls", ":", "GET", "/", "authorizations", "/", ":", "id", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "oauth", ">", "_", ":", "param", "id", ":", "integer", ":", "rtype", ":", ":", "class", ":", "github", "....
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L644-L655
[ "def", "get_authorization", "(", "self", ",", "id", ")", ":", "assert", "isinstance", "(", "id", ",", "(", "int", ",", "long", ")", ")", ",", "id", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",",...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.get_authorizations
:calls: `GET /authorizations <http://developer.github.com/v3/oauth>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Authorization.Authorization`
github/AuthenticatedUser.py
def get_authorizations(self): """ :calls: `GET /authorizations <http://developer.github.com/v3/oauth>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Authorization.Authorization` """ return github.PaginatedList.PaginatedList( github.Authorizati...
def get_authorizations(self): """ :calls: `GET /authorizations <http://developer.github.com/v3/oauth>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Authorization.Authorization` """ return github.PaginatedList.PaginatedList( github.Authorizati...
[ ":", "calls", ":", "GET", "/", "authorizations", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "oauth", ">", "_", ":", "rtype", ":", ":", "class", ":", "github", ".", "PaginatedList", ".", "PaginatedList", "of", ":", "cl...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L657-L667
[ "def", "get_authorizations", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "Authorization", ".", "Authorization", ",", "self", ".", "_requester", ",", "\"/authorizations\"", ",", "None", ")" ]
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.get_followers
:calls: `GET /user/followers <http://developer.github.com/v3/users/followers>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser`
github/AuthenticatedUser.py
def get_followers(self): """ :calls: `GET /user/followers <http://developer.github.com/v3/users/followers>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser` """ return github.PaginatedList.PaginatedList( github.NamedUser.Name...
def get_followers(self): """ :calls: `GET /user/followers <http://developer.github.com/v3/users/followers>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser` """ return github.PaginatedList.PaginatedList( github.NamedUser.Name...
[ ":", "calls", ":", "GET", "/", "user", "/", "followers", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "users", "/", "followers", ">", "_", ":", "rtype", ":", ":", "class", ":", "github", ".", "PaginatedList", ".", "Pa...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L692-L702
[ "def", "get_followers", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "NamedUser", ".", "NamedUser", ",", "self", ".", "_requester", ",", "\"/user/followers\"", ",", "None", ")" ]
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.get_following
:calls: `GET /user/following <http://developer.github.com/v3/users/followers>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser`
github/AuthenticatedUser.py
def get_following(self): """ :calls: `GET /user/following <http://developer.github.com/v3/users/followers>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser` """ return github.PaginatedList.PaginatedList( github.NamedUser.Name...
def get_following(self): """ :calls: `GET /user/following <http://developer.github.com/v3/users/followers>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser` """ return github.PaginatedList.PaginatedList( github.NamedUser.Name...
[ ":", "calls", ":", "GET", "/", "user", "/", "following", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "users", "/", "followers", ">", "_", ":", "rtype", ":", ":", "class", ":", "github", ".", "PaginatedList", ".", "Pa...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L704-L714
[ "def", "get_following", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "NamedUser", ".", "NamedUser", ",", "self", ".", "_requester", ",", "\"/user/following\"", ",", "None", ")" ]
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.get_gists
:calls: `GET /gists <http://developer.github.com/v3/gists>`_ :param since: datetime.datetime format YYYY-MM-DDTHH:MM:SSZ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Gist.Gist`
github/AuthenticatedUser.py
def get_gists(self, since=github.GithubObject.NotSet): """ :calls: `GET /gists <http://developer.github.com/v3/gists>`_ :param since: datetime.datetime format YYYY-MM-DDTHH:MM:SSZ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Gist.Gist` """ assert ...
def get_gists(self, since=github.GithubObject.NotSet): """ :calls: `GET /gists <http://developer.github.com/v3/gists>`_ :param since: datetime.datetime format YYYY-MM-DDTHH:MM:SSZ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Gist.Gist` """ assert ...
[ ":", "calls", ":", "GET", "/", "gists", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "gists", ">", "_", ":", "param", "since", ":", "datetime", ".", "datetime", "format", "YYYY", "-", "MM", "-", "DDTHH", ":", "MM", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L716-L731
[ "def", "get_gists", "(", "self", ",", "since", "=", "github", ".", "GithubObject", ".", "NotSet", ")", ":", "assert", "since", "is", "github", ".", "GithubObject", ".", "NotSet", "or", "isinstance", "(", "since", ",", "datetime", ".", "datetime", ")", ",...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.get_issues
:calls: `GET /issues <http://developer.github.com/v3/issues>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Issue.Issue` :param filter: string :param state: string :param labels: list of :class:`github.Label.Label` :param sort: string :param direc...
github/AuthenticatedUser.py
def get_issues(self, filter=github.GithubObject.NotSet, state=github.GithubObject.NotSet, labels=github.GithubObject.NotSet, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet, since=github.GithubObject.NotSet): """ :calls: `GET /issues <http://developer.github.com/v3/issues>`_ ...
def get_issues(self, filter=github.GithubObject.NotSet, state=github.GithubObject.NotSet, labels=github.GithubObject.NotSet, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet, since=github.GithubObject.NotSet): """ :calls: `GET /issues <http://developer.github.com/v3/issues>`_ ...
[ ":", "calls", ":", "GET", "/", "issues", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "issues", ">", "_", ":", "rtype", ":", ":", "class", ":", "github", ".", "PaginatedList", ".", "PaginatedList", "of", ":", "class", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L733-L769
[ "def", "get_issues", "(", "self", ",", "filter", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "state", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "labels", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "sort", "=", "gith...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.get_key
:calls: `GET /user/keys/:id <http://developer.github.com/v3/users/keys>`_ :param id: integer :rtype: :class:`github.UserKey.UserKey`
github/AuthenticatedUser.py
def get_key(self, id): """ :calls: `GET /user/keys/:id <http://developer.github.com/v3/users/keys>`_ :param id: integer :rtype: :class:`github.UserKey.UserKey` """ assert isinstance(id, (int, long)), id headers, data = self._requester.requestJsonAndCheck( ...
def get_key(self, id): """ :calls: `GET /user/keys/:id <http://developer.github.com/v3/users/keys>`_ :param id: integer :rtype: :class:`github.UserKey.UserKey` """ assert isinstance(id, (int, long)), id headers, data = self._requester.requestJsonAndCheck( ...
[ ":", "calls", ":", "GET", "/", "user", "/", "keys", "/", ":", "id", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "users", "/", "keys", ">", "_", ":", "param", "id", ":", "integer", ":", "rtype", ":", ":", "class",...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L809-L820
[ "def", "get_key", "(", "self", ",", "id", ")", ":", "assert", "isinstance", "(", "id", ",", "(", "int", ",", "long", ")", ")", ",", "id", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",", "\"/use...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.get_notification
:calls: `GET /notifications/threads/:id <http://developer.github.com/v3/activity/notifications>`_ :rtype: :class:`github.Notification.Notification`
github/AuthenticatedUser.py
def get_notification(self, id): """ :calls: `GET /notifications/threads/:id <http://developer.github.com/v3/activity/notifications>`_ :rtype: :class:`github.Notification.Notification` """ assert isinstance(id, (str, unicode)), id headers, data = self._requester.requestJs...
def get_notification(self, id): """ :calls: `GET /notifications/threads/:id <http://developer.github.com/v3/activity/notifications>`_ :rtype: :class:`github.Notification.Notification` """ assert isinstance(id, (str, unicode)), id headers, data = self._requester.requestJs...
[ ":", "calls", ":", "GET", "/", "notifications", "/", "threads", "/", ":", "id", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "notifications", ">", "_", ":", "rtype", ":", ":", "class", ":", "github", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L834-L845
[ "def", "get_notification", "(", "self", ",", "id", ")", ":", "assert", "isinstance", "(", "id", ",", "(", "str", ",", "unicode", ")", ")", ",", "id", "headers", ",", "data", "=", "self", ".", "_requester", ".", "requestJsonAndCheck", "(", "\"GET\"", ",...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.get_notifications
:calls: `GET /notifications <http://developer.github.com/v3/activity/notifications>`_ :param all: bool :param participating: bool :param since: datetime.datetime :param before: datetime.datetime :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Notification.No...
github/AuthenticatedUser.py
def get_notifications(self, all=github.GithubObject.NotSet, participating=github.GithubObject.NotSet, since=github.GithubObject.NotSet, before=github.GithubObject.NotSet): """ :calls: `GET /notifications <http://developer.github.com/v3/activity/notifications>`_ :param all: bool :param pa...
def get_notifications(self, all=github.GithubObject.NotSet, participating=github.GithubObject.NotSet, since=github.GithubObject.NotSet, before=github.GithubObject.NotSet): """ :calls: `GET /notifications <http://developer.github.com/v3/activity/notifications>`_ :param all: bool :param pa...
[ ":", "calls", ":", "GET", "/", "notifications", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "notifications", ">", "_", ":", "param", "all", ":", "bool", ":", "param", "participating", ":", "bool", ":", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L847-L877
[ "def", "get_notifications", "(", "self", ",", "all", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "participating", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "since", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "before", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.get_organization_events
:calls: `GET /users/:user/events/orgs/:org <http://developer.github.com/v3/activity/events>`_ :param org: :class:`github.Organization.Organization` :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Event.Event`
github/AuthenticatedUser.py
def get_organization_events(self, org): """ :calls: `GET /users/:user/events/orgs/:org <http://developer.github.com/v3/activity/events>`_ :param org: :class:`github.Organization.Organization` :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Event.Event` """ ...
def get_organization_events(self, org): """ :calls: `GET /users/:user/events/orgs/:org <http://developer.github.com/v3/activity/events>`_ :param org: :class:`github.Organization.Organization` :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Event.Event` """ ...
[ ":", "calls", ":", "GET", "/", "users", "/", ":", "user", "/", "events", "/", "orgs", "/", ":", "org", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "events", ">", "_", ":", "param", "org", ":", ":...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L879-L891
[ "def", "get_organization_events", "(", "self", ",", "org", ")", ":", "assert", "isinstance", "(", "org", ",", "github", ".", "Organization", ".", "Organization", ")", ",", "org", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.get_orgs
:calls: `GET /user/orgs <http://developer.github.com/v3/orgs>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Organization.Organization`
github/AuthenticatedUser.py
def get_orgs(self): """ :calls: `GET /user/orgs <http://developer.github.com/v3/orgs>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Organization.Organization` """ return github.PaginatedList.PaginatedList( github.Organization.Organization, ...
def get_orgs(self): """ :calls: `GET /user/orgs <http://developer.github.com/v3/orgs>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Organization.Organization` """ return github.PaginatedList.PaginatedList( github.Organization.Organization, ...
[ ":", "calls", ":", "GET", "/", "user", "/", "orgs", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "orgs", ">", "_", ":", "rtype", ":", ":", "class", ":", "github", ".", "PaginatedList", ".", "PaginatedList", "of", ":",...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L893-L903
[ "def", "get_orgs", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "Organization", ".", "Organization", ",", "self", ".", "_requester", ",", "\"/user/orgs\"", ",", "None", ")" ]
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.get_repos
:calls: `GET /user/repos <http://developer.github.com/v3/repos>` :param visibility: string :param affiliation: string :param type: string :param sort: string :param direction: string :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Repository.Reposito...
github/AuthenticatedUser.py
def get_repos(self, visibility=github.GithubObject.NotSet, affiliation=github.GithubObject.NotSet, type=github.GithubObject.NotSet, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet): """ :calls: `GET /user/repos <http://developer.github.com/v3/repos>` :param visibility: stri...
def get_repos(self, visibility=github.GithubObject.NotSet, affiliation=github.GithubObject.NotSet, type=github.GithubObject.NotSet, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet): """ :calls: `GET /user/repos <http://developer.github.com/v3/repos>` :param visibility: stri...
[ ":", "calls", ":", "GET", "/", "user", "/", "repos", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "repos", ">", ":", "param", "visibility", ":", "string", ":", "param", "affiliation", ":", "string", ":", "param", "type"...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L918-L949
[ "def", "get_repos", "(", "self", ",", "visibility", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "affiliation", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "type", "=", "github", ".", "GithubObject", ".", "NotSet", ",", "sort", "=", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.get_starred
:calls: `GET /user/starred <http://developer.github.com/v3/activity/starring>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Repository.Repository`
github/AuthenticatedUser.py
def get_starred(self): """ :calls: `GET /user/starred <http://developer.github.com/v3/activity/starring>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Repository.Repository` """ return github.PaginatedList.PaginatedList( github.Repository.Rep...
def get_starred(self): """ :calls: `GET /user/starred <http://developer.github.com/v3/activity/starring>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Repository.Repository` """ return github.PaginatedList.PaginatedList( github.Repository.Rep...
[ ":", "calls", ":", "GET", "/", "user", "/", "starred", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "starring", ">", "_", ":", "rtype", ":", ":", "class", ":", "github", ".", "PaginatedList", ".", "Pa...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L951-L961
[ "def", "get_starred", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "Repository", ".", "Repository", ",", "self", ".", "_requester", ",", "\"/user/starred\"", ",", "None", ")" ]
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.get_starred_gists
:calls: `GET /gists/starred <http://developer.github.com/v3/gists>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Gist.Gist`
github/AuthenticatedUser.py
def get_starred_gists(self): """ :calls: `GET /gists/starred <http://developer.github.com/v3/gists>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Gist.Gist` """ return github.PaginatedList.PaginatedList( github.Gist.Gist, self._re...
def get_starred_gists(self): """ :calls: `GET /gists/starred <http://developer.github.com/v3/gists>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Gist.Gist` """ return github.PaginatedList.PaginatedList( github.Gist.Gist, self._re...
[ ":", "calls", ":", "GET", "/", "gists", "/", "starred", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "gists", ">", "_", ":", "rtype", ":", ":", "class", ":", "github", ".", "PaginatedList", ".", "PaginatedList", "of", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L963-L973
[ "def", "get_starred_gists", "(", "self", ")", ":", "return", "github", ".", "PaginatedList", ".", "PaginatedList", "(", "github", ".", "Gist", ".", "Gist", ",", "self", ".", "_requester", ",", "\"/gists/starred\"", ",", "None", ")" ]
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.has_in_following
:calls: `GET /user/following/:user <http://developer.github.com/v3/users/followers>`_ :param following: :class:`github.NamedUser.NamedUser` :rtype: bool
github/AuthenticatedUser.py
def has_in_following(self, following): """ :calls: `GET /user/following/:user <http://developer.github.com/v3/users/followers>`_ :param following: :class:`github.NamedUser.NamedUser` :rtype: bool """ assert isinstance(following, github.NamedUser.NamedUser), following ...
def has_in_following(self, following): """ :calls: `GET /user/following/:user <http://developer.github.com/v3/users/followers>`_ :param following: :class:`github.NamedUser.NamedUser` :rtype: bool """ assert isinstance(following, github.NamedUser.NamedUser), following ...
[ ":", "calls", ":", "GET", "/", "user", "/", "following", "/", ":", "user", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "users", "/", "followers", ">", "_", ":", "param", "following", ":", ":", "class", ":", "github",...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L1011-L1022
[ "def", "has_in_following", "(", "self", ",", "following", ")", ":", "assert", "isinstance", "(", "following", ",", "github", ".", "NamedUser", ".", "NamedUser", ")", ",", "following", "status", ",", "headers", ",", "data", "=", "self", ".", "_requester", "...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.has_in_starred
:calls: `GET /user/starred/:owner/:repo <http://developer.github.com/v3/activity/starring>`_ :param starred: :class:`github.Repository.Repository` :rtype: bool
github/AuthenticatedUser.py
def has_in_starred(self, starred): """ :calls: `GET /user/starred/:owner/:repo <http://developer.github.com/v3/activity/starring>`_ :param starred: :class:`github.Repository.Repository` :rtype: bool """ assert isinstance(starred, github.Repository.Repository), starred ...
def has_in_starred(self, starred): """ :calls: `GET /user/starred/:owner/:repo <http://developer.github.com/v3/activity/starring>`_ :param starred: :class:`github.Repository.Repository` :rtype: bool """ assert isinstance(starred, github.Repository.Repository), starred ...
[ ":", "calls", ":", "GET", "/", "user", "/", "starred", "/", ":", "owner", "/", ":", "repo", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "starring", ">", "_", ":", "param", "starred", ":", ":", "cla...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L1024-L1035
[ "def", "has_in_starred", "(", "self", ",", "starred", ")", ":", "assert", "isinstance", "(", "starred", ",", "github", ".", "Repository", ".", "Repository", ")", ",", "starred", "status", ",", "headers", ",", "data", "=", "self", ".", "_requester", ".", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.has_in_subscriptions
:calls: `GET /user/subscriptions/:owner/:repo <http://developer.github.com/v3/activity/watching>`_ :param subscription: :class:`github.Repository.Repository` :rtype: bool
github/AuthenticatedUser.py
def has_in_subscriptions(self, subscription): """ :calls: `GET /user/subscriptions/:owner/:repo <http://developer.github.com/v3/activity/watching>`_ :param subscription: :class:`github.Repository.Repository` :rtype: bool """ assert isinstance(subscription, github.Reposito...
def has_in_subscriptions(self, subscription): """ :calls: `GET /user/subscriptions/:owner/:repo <http://developer.github.com/v3/activity/watching>`_ :param subscription: :class:`github.Repository.Repository` :rtype: bool """ assert isinstance(subscription, github.Reposito...
[ ":", "calls", ":", "GET", "/", "user", "/", "subscriptions", "/", ":", "owner", "/", ":", "repo", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "watching", ">", "_", ":", "param", "subscription", ":", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L1037-L1048
[ "def", "has_in_subscriptions", "(", "self", ",", "subscription", ")", ":", "assert", "isinstance", "(", "subscription", ",", "github", ".", "Repository", ".", "Repository", ")", ",", "subscription", "status", ",", "headers", ",", "data", "=", "self", ".", "_...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.has_in_watched
:calls: `GET /repos/:owner/:repo/subscription <http://developer.github.com/v3/activity/watching>`_ :param watched: :class:`github.Repository.Repository` :rtype: bool
github/AuthenticatedUser.py
def has_in_watched(self, watched): """ :calls: `GET /repos/:owner/:repo/subscription <http://developer.github.com/v3/activity/watching>`_ :param watched: :class:`github.Repository.Repository` :rtype: bool """ assert isinstance(watched, github.Repository.Repository), watch...
def has_in_watched(self, watched): """ :calls: `GET /repos/:owner/:repo/subscription <http://developer.github.com/v3/activity/watching>`_ :param watched: :class:`github.Repository.Repository` :rtype: bool """ assert isinstance(watched, github.Repository.Repository), watch...
[ ":", "calls", ":", "GET", "/", "repos", "/", ":", "owner", "/", ":", "repo", "/", "subscription", "<http", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "watching", ">", "_", ":", "param", "watched", ":", ":", ...
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L1050-L1061
[ "def", "has_in_watched", "(", "self", ",", "watched", ")", ":", "assert", "isinstance", "(", "watched", ",", "github", ".", "Repository", ".", "Repository", ")", ",", "watched", "status", ",", "headers", ",", "data", "=", "self", ".", "_requester", ".", ...
f716df86bbe7dc276c6596699fa9712b61ef974c
train
AuthenticatedUser.mark_notifications_as_read
:calls: `PUT /notifications <https://developer.github.com/v3/activity/notifications>`_ :param last_read_at: datetime
github/AuthenticatedUser.py
def mark_notifications_as_read(self, last_read_at=datetime.datetime.utcnow()): """ :calls: `PUT /notifications <https://developer.github.com/v3/activity/notifications>`_ :param last_read_at: datetime """ assert isinstance(last_read_at, datetime.datetime) put_parameters = ...
def mark_notifications_as_read(self, last_read_at=datetime.datetime.utcnow()): """ :calls: `PUT /notifications <https://developer.github.com/v3/activity/notifications>`_ :param last_read_at: datetime """ assert isinstance(last_read_at, datetime.datetime) put_parameters = ...
[ ":", "calls", ":", "PUT", "/", "notifications", "<https", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "activity", "/", "notifications", ">", "_", ":", "param", "last_read_at", ":", "datetime" ]
PyGithub/PyGithub
python
https://github.com/PyGithub/PyGithub/blob/f716df86bbe7dc276c6596699fa9712b61ef974c/github/AuthenticatedUser.py#L1063-L1077
[ "def", "mark_notifications_as_read", "(", "self", ",", "last_read_at", "=", "datetime", ".", "datetime", ".", "utcnow", "(", ")", ")", ":", "assert", "isinstance", "(", "last_read_at", ",", "datetime", ".", "datetime", ")", "put_parameters", "=", "{", "\"last_...
f716df86bbe7dc276c6596699fa9712b61ef974c