{"action":"created","issue":{"url":"https://api.github.com/repos/deliveryhero/lymph/issues/47","labels_url":"https://api.github.com/repos/deliveryhero/lymph/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/deliveryhero/lymph/issues/47/comments","events_url":"https://api.github.com/repos/deliveryhero/lymph/issues/47/events","html_url":"https://github.com/deliveryhero/lymph/issues/47","id":49889821,"number":47,"title":"Interface name is mutable","user":{"login":"dushyant88","id":616699,"avatar_url":"https://avatars.githubusercontent.com/u/616699?v=3","gravatar_id":"","url":"https://api.github.com/users/dushyant88","html_url":"https://github.com/dushyant88","followers_url":"https://api.github.com/users/dushyant88/followers","following_url":"https://api.github.com/users/dushyant88/following{/other_user}","gists_url":"https://api.github.com/users/dushyant88/gists{/gist_id}","starred_url":"https://api.github.com/users/dushyant88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dushyant88/subscriptions","organizations_url":"https://api.github.com/users/dushyant88/orgs","repos_url":"https://api.github.com/users/dushyant88/repos","events_url":"https://api.github.com/users/dushyant88/events{/privacy}","received_events_url":"https://api.github.com/users/dushyant88/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2014-11-24T13:34:56Z","updated_at":"2015-06-25T13:51:27Z","closed_at":"2015-06-25T13:51:27Z","body":"The interface name is used to identify the interface when it is installed in a container. There is a method in the container that allows you to install interfaces.\r\n```python\r\ndef install_interface(self, cls, interface_name=None): \r\n```\r\nThe ```interface_name``` is associated to the interface and that is what is used to identify the interface too, including discovery.\r\n\r\nNow when you have an interface, you can change the ```name``` of the interface if you have access to the interface instance and that will not update the container.\r\n\r\nEg.\r\n```python\r\necho_interface = container.installed_interfaces['echo']\r\necho_interface.name = 'something-else'\r\n```\r\n\r\nThis would not break the request call to the the interface, but it indicates that if you change the name the of the interface you would be able to discover it with the new name runtime.\r\n\r\nTo follow the discussion and possibly a solution checkout this discussion on the PR[https://github.com/deliveryhero/lymph/pull/37#discussion-diff-20519884] "},"comment":{"url":"https://api.github.com/repos/deliveryhero/lymph/issues/comments/115264140","html_url":"https://github.com/deliveryhero/lymph/issues/47#issuecomment-115264140","issue_url":"https://api.github.com/repos/deliveryhero/lymph/issues/47","id":115264140,"user":{"login":"emulbreh","id":120118,"avatar_url":"https://avatars.githubusercontent.com/u/120118?v=3","gravatar_id":"","url":"https://api.github.com/users/emulbreh","html_url":"https://github.com/emulbreh","followers_url":"https://api.github.com/users/emulbreh/followers","following_url":"https://api.github.com/users/emulbreh/following{/other_user}","gists_url":"https://api.github.com/users/emulbreh/gists{/gist_id}","starred_url":"https://api.github.com/users/emulbreh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emulbreh/subscriptions","organizations_url":"https://api.github.com/users/emulbreh/orgs","repos_url":"https://api.github.com/users/emulbreh/repos","events_url":"https://api.github.com/users/emulbreh/events{/privacy}","received_events_url":"https://api.github.com/users/emulbreh/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T13:51:27Z","updated_at":"2015-06-25T13:51:27Z","body":"not really a problem, we don't usually enforce immutability in Python"}}