mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
Improve management of lazy completion
This commit is contained in:
@@ -5,9 +5,9 @@ import PaginatedList
|
||||
from GithubObject import *
|
||||
|
||||
class PullRequestFile( object ):
|
||||
def __init__( self, requester, attributes, lazy ):
|
||||
def __init__( self, requester, attributes, completion ):
|
||||
self.__requester = requester
|
||||
self.__completed = False
|
||||
self.__completed = completion != LazyCompletion
|
||||
self.__initAttributes()
|
||||
self.__useAttributes( attributes )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user