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