mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
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:
@@ -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: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user