Add type hint for Organization.create_project() (#2032)

Organization.create_project() did not have a type hint, add one, and a test case.
This commit is contained in:
karthik-kadajji
2021-10-12 16:10:48 +11:00
committed by GitHub
parent 99e00a2894
commit d71c25a6d4
3 changed files with 59 additions and 0 deletions
+2
View File
@@ -194,6 +194,7 @@ class Organization(CompletableGithubObject):
def remove_from_membership(self, member: NamedUser) -> None: ...
def remove_from_public_members(self, public_member: NamedUser) -> None: ...
def remove_outside_collaborator(self, collaborator: NamedUser) -> None: ...
def create_project(self, param: str, body: _NotSetType) -> None: ...
@property
def repos_url(self) -> str: ...
@property
@@ -206,3 +207,4 @@ class Organization(CompletableGithubObject):
def updated_at(self) -> datetime: ...
@property
def url(self) -> str: ...