mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Remove the notion of ImmediateCompletion
This commit is contained in:
@@ -5,13 +5,11 @@ import PaginatedList
|
||||
from GithubObject import *
|
||||
|
||||
class UserKey( object ):
|
||||
def __init__( self, requester, attributes, completion ):
|
||||
def __init__( self, requester, attributes, completed ):
|
||||
self.__requester = requester
|
||||
self.__initAttributes()
|
||||
self.__useAttributes( attributes )
|
||||
self.__completed = completion != LazyCompletion
|
||||
if completion == ImmediateCompletion:
|
||||
self.__complete() # pragma: no cover
|
||||
self.__completed = completed
|
||||
|
||||
@property
|
||||
def id( self ):
|
||||
|
||||
Reference in New Issue
Block a user