diff --git a/github/Repository.py b/github/Repository.py index c1d1e466..a08be2d7 100644 --- a/github/Repository.py +++ b/github/Repository.py @@ -1262,15 +1262,15 @@ class Repository(github.GithubObject.CompletableGithubObject): def create_project(self, name, body=github.GithubObject.NotSet): """ - calls: `POST /repos/:owner/:repo/projects `_ + :calls: `POST /repos/:owner/:repo/projects `_ :param name: string :param body: string + :rtype: :class:`github.Project.Project` """ assert isinstance(name, str), name assert body is github.GithubObject.NotSet or isinstance(body, str), body post_parameters = { "name": name, - "body": body, } import_header = {"Accept": Consts.mediaTypeProjectsPreview} if body is not github.GithubObject.NotSet: