mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
9 lines
276 B
Python
9 lines
276 B
Python
{% for attribute in class.attributes|dictsort:"name" %}
|
|
@property
|
|
def {{ attribute.name }}( self ):
|
|
{% if class.isCompletable %}
|
|
self.__completeIfNeeded( self.__{{ attribute.name }} )
|
|
{% endif %}
|
|
return self.__{{ attribute.name }}
|
|
{% endfor %}
|