mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
29 lines
601 B
Python
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" %}
|