Files
PyGithub/codegen/templates/GithubObject.PublicAttributes.py
T

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 %}