mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
34 lines
720 B
Python
34 lines
720 B
Python
{% if class.needsUrllib %}
|
|
import urllib
|
|
{% endif %}
|
|
{% if class.needsDatetime %}
|
|
import datetime
|
|
{% endif %}
|
|
{% if class.needsUrllib or class.needsDatetime %}
|
|
##########
|
|
{% 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" %}
|