mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Adding feature for enterprise consumed license (#2626)
Co-authored-by: Enrico Minack <github@enrico.minack.dev>
This commit is contained in:
co-authored by
Enrico Minack
parent
eadc241e07
commit
a7bfdf2d65
@@ -10,6 +10,7 @@ from github.Auth import Auth
|
||||
from github.AuthenticatedUser import AuthenticatedUser
|
||||
from github.Commit import Commit
|
||||
from github.ContentFile import ContentFile
|
||||
from github.Enterprise import Enterprise
|
||||
from github.Event import Event
|
||||
from github.Gist import Gist
|
||||
from github.GithubApp import GithubApp
|
||||
@@ -79,6 +80,7 @@ class Github:
|
||||
def get_licenses(self) -> PaginatedList[License]: ...
|
||||
def get_organization(self, login: str) -> Organization: ...
|
||||
def get_organizations(self, since: Union[int, _NotSetType] = ...) -> PaginatedList[Organization]: ...
|
||||
def get_enterprise(self, login: str) -> Enterprise: ...
|
||||
def get_project(self, id: int) -> Project: ...
|
||||
def get_project_column(self, id: int) -> ProjectColumn: ...
|
||||
def get_rate_limit(self) -> RateLimit: ...
|
||||
|
||||
Reference in New Issue
Block a user