mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 11:51:10 +00:00
Fix testEditOrganizationTeamAndMembers (Use _identity to fix has_in_, add_to_, remove_from_)
This commit is contained in:
@@ -33,6 +33,13 @@ class {{ class.name }}( object ):
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if class.identity %}
|
||||
# @todo Remove '_identity' from the normalized json description
|
||||
@property
|
||||
def _identity( self ):
|
||||
return {% include "GithubObject.Concatenation.py" with concatenation=class.identity only %}
|
||||
{% endif %}
|
||||
|
||||
def __initAttributes( self ):
|
||||
{% for attribute in class.attributes|dictsort:"name" %}
|
||||
self.__{{ attribute.name }} = None
|
||||
|
||||
Reference in New Issue
Block a user