{"action":"opened","number":165,"pull_request":{"url":"https://api.github.com/repos/FreeOpcUa/python-opcua/pulls/165","id":67620916,"html_url":"https://github.com/FreeOpcUa/python-opcua/pull/165","diff_url":"https://github.com/FreeOpcUa/python-opcua/pull/165.diff","patch_url":"https://github.com/FreeOpcUa/python-opcua/pull/165.patch","issue_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/issues/165","number":165,"state":"open","locked":false,"title":"Added support for Inverse references","user":{"login":"destogl","id":1918204,"avatar_url":"https://avatars.githubusercontent.com/u/1918204?v=3","gravatar_id":"","url":"https://api.github.com/users/destogl","html_url":"https://github.com/destogl","followers_url":"https://api.github.com/users/destogl/followers","following_url":"https://api.github.com/users/destogl/following{/other_user}","gists_url":"https://api.github.com/users/destogl/gists{/gist_id}","starred_url":"https://api.github.com/users/destogl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/destogl/subscriptions","organizations_url":"https://api.github.com/users/destogl/orgs","repos_url":"https://api.github.com/users/destogl/repos","events_url":"https://api.github.com/users/destogl/events{/privacy}","received_events_url":"https://api.github.com/users/destogl/received_events","type":"User","site_admin":false},"body":"Working on #161 I found out that inverse references are missing (from child to parent). So here is initial implementation. The result is cross-compared with server based on Unified Automation SDK and Textual specification (Part 3) is consulted. Following major changes are done:\r\n\r\n* Hierarchical references are automatically added (parent <--> child)\r\n* create_method now returns Node (as all other create methods (variable, object))\r\n* create_folder is now merged with create_object since the difference is in only one variable\r\n* On multiple places are written constants instead of hard-coded numeric values\r\n* Tests for references are written and some others are extended","created_at":"2016-04-23T22:37:39Z","updated_at":"2016-04-23T22:37:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/pulls/165/commits","review_comments_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/pulls/165/comments","review_comment_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/issues/165/comments","statuses_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/statuses/510158767f710aae9664e0ceea3e46046c7e4246","head":{"label":"iirob:inverse_references","ref":"inverse_references","sha":"510158767f710aae9664e0ceea3e46046c7e4246","user":{"login":"iirob","id":4102842,"avatar_url":"https://avatars.githubusercontent.com/u/4102842?v=3","gravatar_id":"","url":"https://api.github.com/users/iirob","html_url":"https://github.com/iirob","followers_url":"https://api.github.com/users/iirob/followers","following_url":"https://api.github.com/users/iirob/following{/other_user}","gists_url":"https://api.github.com/users/iirob/gists{/gist_id}","starred_url":"https://api.github.com/users/iirob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iirob/subscriptions","organizations_url":"https://api.github.com/users/iirob/orgs","repos_url":"https://api.github.com/users/iirob/repos","events_url":"https://api.github.com/users/iirob/events{/privacy}","received_events_url":"https://api.github.com/users/iirob/received_events","type":"Organization","site_admin":false},"repo":{"id":37647800,"name":"python-opcua","full_name":"iirob/python-opcua","owner":{"login":"iirob","id":4102842,"avatar_url":"https://avatars.githubusercontent.com/u/4102842?v=3","gravatar_id":"","url":"https://api.github.com/users/iirob","html_url":"https://github.com/iirob","followers_url":"https://api.github.com/users/iirob/followers","following_url":"https://api.github.com/users/iirob/following{/other_user}","gists_url":"https://api.github.com/users/iirob/gists{/gist_id}","starred_url":"https://api.github.com/users/iirob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iirob/subscriptions","organizations_url":"https://api.github.com/users/iirob/orgs","repos_url":"https://api.github.com/users/iirob/repos","events_url":"https://api.github.com/users/iirob/events{/privacy}","received_events_url":"https://api.github.com/users/iirob/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iirob/python-opcua","description":"Pure Python OPC-UA Client and Server","fork":true,"url":"https://api.github.com/repos/iirob/python-opcua","forks_url":"https://api.github.com/repos/iirob/python-opcua/forks","keys_url":"https://api.github.com/repos/iirob/python-opcua/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iirob/python-opcua/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iirob/python-opcua/teams","hooks_url":"https://api.github.com/repos/iirob/python-opcua/hooks","issue_events_url":"https://api.github.com/repos/iirob/python-opcua/issues/events{/number}","events_url":"https://api.github.com/repos/iirob/python-opcua/events","assignees_url":"https://api.github.com/repos/iirob/python-opcua/assignees{/user}","branches_url":"https://api.github.com/repos/iirob/python-opcua/branches{/branch}","tags_url":"https://api.github.com/repos/iirob/python-opcua/tags","blobs_url":"https://api.github.com/repos/iirob/python-opcua/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iirob/python-opcua/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iirob/python-opcua/git/refs{/sha}","trees_url":"https://api.github.com/repos/iirob/python-opcua/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iirob/python-opcua/statuses/{sha}","languages_url":"https://api.github.com/repos/iirob/python-opcua/languages","stargazers_url":"https://api.github.com/repos/iirob/python-opcua/stargazers","contributors_url":"https://api.github.com/repos/iirob/python-opcua/contributors","subscribers_url":"https://api.github.com/repos/iirob/python-opcua/subscribers","subscription_url":"https://api.github.com/repos/iirob/python-opcua/subscription","commits_url":"https://api.github.com/repos/iirob/python-opcua/commits{/sha}","git_commits_url":"https://api.github.com/repos/iirob/python-opcua/git/commits{/sha}","comments_url":"https://api.github.com/repos/iirob/python-opcua/comments{/number}","issue_comment_url":"https://api.github.com/repos/iirob/python-opcua/issues/comments{/number}","contents_url":"https://api.github.com/repos/iirob/python-opcua/contents/{+path}","compare_url":"https://api.github.com/repos/iirob/python-opcua/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iirob/python-opcua/merges","archive_url":"https://api.github.com/repos/iirob/python-opcua/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iirob/python-opcua/downloads","issues_url":"https://api.github.com/repos/iirob/python-opcua/issues{/number}","pulls_url":"https://api.github.com/repos/iirob/python-opcua/pulls{/number}","milestones_url":"https://api.github.com/repos/iirob/python-opcua/milestones{/number}","notifications_url":"https://api.github.com/repos/iirob/python-opcua/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iirob/python-opcua/labels{/name}","releases_url":"https://api.github.com/repos/iirob/python-opcua/releases{/id}","deployments_url":"https://api.github.com/repos/iirob/python-opcua/deployments","created_at":"2015-06-18T08:37:42Z","updated_at":"2016-01-16T15:32:27Z","pushed_at":"2016-04-23T22:30:41Z","git_url":"git://github.com/iirob/python-opcua.git","ssh_url":"git@github.com:iirob/python-opcua.git","clone_url":"https://github.com/iirob/python-opcua.git","svn_url":"https://github.com/iirob/python-opcua","homepage":"","size":2232,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FreeOpcUa:master","ref":"master","sha":"33dd4565ee333808be5d05d4d38d050d3ea0a257","user":{"login":"FreeOpcUa","id":7480453,"avatar_url":"https://avatars.githubusercontent.com/u/7480453?v=3","gravatar_id":"","url":"https://api.github.com/users/FreeOpcUa","html_url":"https://github.com/FreeOpcUa","followers_url":"https://api.github.com/users/FreeOpcUa/followers","following_url":"https://api.github.com/users/FreeOpcUa/following{/other_user}","gists_url":"https://api.github.com/users/FreeOpcUa/gists{/gist_id}","starred_url":"https://api.github.com/users/FreeOpcUa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreeOpcUa/subscriptions","organizations_url":"https://api.github.com/users/FreeOpcUa/orgs","repos_url":"https://api.github.com/users/FreeOpcUa/repos","events_url":"https://api.github.com/users/FreeOpcUa/events{/privacy}","received_events_url":"https://api.github.com/users/FreeOpcUa/received_events","type":"Organization","site_admin":false},"repo":{"id":31074280,"name":"python-opcua","full_name":"FreeOpcUa/python-opcua","owner":{"login":"FreeOpcUa","id":7480453,"avatar_url":"https://avatars.githubusercontent.com/u/7480453?v=3","gravatar_id":"","url":"https://api.github.com/users/FreeOpcUa","html_url":"https://github.com/FreeOpcUa","followers_url":"https://api.github.com/users/FreeOpcUa/followers","following_url":"https://api.github.com/users/FreeOpcUa/following{/other_user}","gists_url":"https://api.github.com/users/FreeOpcUa/gists{/gist_id}","starred_url":"https://api.github.com/users/FreeOpcUa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreeOpcUa/subscriptions","organizations_url":"https://api.github.com/users/FreeOpcUa/orgs","repos_url":"https://api.github.com/users/FreeOpcUa/repos","events_url":"https://api.github.com/users/FreeOpcUa/events{/privacy}","received_events_url":"https://api.github.com/users/FreeOpcUa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FreeOpcUa/python-opcua","description":"LGPL Pure Python OPC-UA Client and Server","fork":false,"url":"https://api.github.com/repos/FreeOpcUa/python-opcua","forks_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/forks","keys_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/teams","hooks_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/hooks","issue_events_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/issues/events{/number}","events_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/events","assignees_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/assignees{/user}","branches_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/branches{/branch}","tags_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/tags","blobs_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/git/refs{/sha}","trees_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/statuses/{sha}","languages_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/languages","stargazers_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/stargazers","contributors_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/contributors","subscribers_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/subscribers","subscription_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/subscription","commits_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/commits{/sha}","git_commits_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/git/commits{/sha}","comments_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/comments{/number}","issue_comment_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/issues/comments{/number}","contents_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/contents/{+path}","compare_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/merges","archive_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/downloads","issues_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/issues{/number}","pulls_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/pulls{/number}","milestones_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/milestones{/number}","notifications_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/labels{/name}","releases_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/releases{/id}","deployments_url":"https://api.github.com/repos/FreeOpcUa/python-opcua/deployments","created_at":"2015-02-20T16:46:53Z","updated_at":"2016-04-22T08:42:19Z","pushed_at":"2016-04-22T14:27:22Z","git_url":"git://github.com/FreeOpcUa/python-opcua.git","ssh_url":"git@github.com:FreeOpcUa/python-opcua.git","clone_url":"https://github.com/FreeOpcUa/python-opcua.git","svn_url":"https://github.com/FreeOpcUa/python-opcua","homepage":"http://freeopcua.github.io/","size":2573,"stargazers_count":55,"watchers_count":55,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":21,"forks":26,"open_issues":21,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FreeOpcUa/python-opcua/pulls/165"},"html":{"href":"https://github.com/FreeOpcUa/python-opcua/pull/165"},"issue":{"href":"https://api.github.com/repos/FreeOpcUa/python-opcua/issues/165"},"comments":{"href":"https://api.github.com/repos/FreeOpcUa/python-opcua/issues/165/comments"},"review_comments":{"href":"https://api.github.com/repos/FreeOpcUa/python-opcua/pulls/165/comments"},"review_comment":{"href":"https://api.github.com/repos/FreeOpcUa/python-opcua/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FreeOpcUa/python-opcua/pulls/165/commits"},"statuses":{"href":"https://api.github.com/repos/FreeOpcUa/python-opcua/statuses/510158767f710aae9664e0ceea3e46046c7e4246"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":177,"deletions":63,"changed_files":5}}