mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Convert legacy objects to v3 ones
Still needed: - test completion of objects returned by legacy API - implement legacy pagination
This commit is contained in:
@@ -46,6 +46,7 @@ import GitTag
|
||||
import Download
|
||||
import Permissions
|
||||
import Event
|
||||
import Legacy
|
||||
|
||||
class Repository( GithubObject.GithubObject ):
|
||||
@property
|
||||
@@ -1011,7 +1012,8 @@ class Repository( GithubObject.GithubObject ):
|
||||
None,
|
||||
None
|
||||
)
|
||||
return PaginatedList.PaginatedList(
|
||||
return Legacy.PaginatedList(
|
||||
Legacy.convertIssue,
|
||||
Issue.Issue,
|
||||
self._requester,
|
||||
headers,
|
||||
|
||||
Reference in New Issue
Block a user