mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 11:51:10 +00:00
Refactor switches in templates: step 1
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
{
|
||||
key : {% if attribute.type.name != class.name %}{{ attribute.type.name }}.{% endif %}{{ attribute.type.name }}( self._requester, element, completed = False )
|
||||
for key, element in attributes[ "{{ attribute.name }}" ].iteritems()
|
||||
}
|
||||
Reference in New Issue
Block a user