Files
PyGithub/codegen/templates/GithubObject.py
T

29 lines
601 B
Python

{% if class.needsUrllib %}
import urllib
##########
{% endif %}
import GithubObject
{% if class.needsPaginatedList %}
import PaginatedList
{% endif %}
{% if class.dependencies %}
##########
{% for dependency in class.dependencies %}
import {{ dependency }}
{% endfor %}
{% endif %}
{% if class.isCompletable %}
class {{ class.name }}( GithubObject.GithubObject ):
{% else %}
class {{ class.name }}( GithubObject.BasicGithubObject ):
{% endif %}
{% include "GithubObject.PublicAttributes.py" %}
{% include "GithubObject.PublicMethods.py" %}
{% include "GithubObject.Implementation.py" %}