mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
Remove the notion of ImmediateCompletion
This commit is contained in:
@@ -10,14 +10,12 @@ import {{ dependency }}
|
||||
{% endfor %}
|
||||
|
||||
class {{ class.name }}( object ):
|
||||
def __init__( self, requester, attributes, completion ):
|
||||
def __init__( self, requester, attributes, completed ):
|
||||
self.__requester = requester
|
||||
self.__initAttributes()
|
||||
self.__useAttributes( attributes )
|
||||
{% if class.isCompletable %}
|
||||
self.__completed = completion != LazyCompletion
|
||||
if completion == ImmediateCompletion:
|
||||
self.__complete() # pragma: no cover
|
||||
self.__completed = completed
|
||||
{% endif %}
|
||||
|
||||
{% include "GithubObject.PublicAttributes.py" %}
|
||||
|
||||
Reference in New Issue
Block a user