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

9 lines
295 B
Python

{% for attribute in class.attributes|dictsort:"name" %}
@property
def {{ attribute.name }}( self ):
{% if class.isCompletable %}
self._completeIfNotSet( self._{{ attribute.name }} )
{% endif %}
return self._NoneIfNotSet( self._{{ attribute.name }} )
{% endfor %}