{"action":"created","comment":{"url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/pulls/comments/222753990","pull_request_review_id":161717859,"id":222753990,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjc1Mzk5MA==","diff_hunk":"@@ -273,6 +268,18 @@ def _setup_var_data(self, recurse=True):\n                 # Compute abs2meta\n                 abs2meta[abs_name] = metadata\n \n+            for prom_name, val in iteritems(self._var_discrete[type_]):\n+                abs_name = prefix + prom_name\n+                allprocs_prom2abs_list[type_][prom_name] = [abs_name]\n+                self._var_allprocs_discrete[type_][abs_name] = val\n+\n+        self._var_abs_names = self._var_allprocs_abs_names\n+        if self._var_discrete['input'] or self._var_discrete['output']:\n+            self._discrete_inputs = _DictValues(self._var_discrete['input'])","path":"openmdao/core/component.py","position":83,"original_position":83,"commit_id":"d647d05b529fb01fb33e7a3bcf56c8603ca64198","original_commit_id":"8fe35c65d07a7d031ba3c68dae2db2e77292eb5d","user":{"login":"Kenneth-T-Moore","id":867917,"node_id":"MDQ6VXNlcjg2NzkxNw==","avatar_url":"https://avatars2.githubusercontent.com/u/867917?v=4","gravatar_id":"","url":"https://api.github.com/users/Kenneth-T-Moore","html_url":"https://github.com/Kenneth-T-Moore","followers_url":"https://api.github.com/users/Kenneth-T-Moore/followers","following_url":"https://api.github.com/users/Kenneth-T-Moore/following{/other_user}","gists_url":"https://api.github.com/users/Kenneth-T-Moore/gists{/gist_id}","starred_url":"https://api.github.com/users/Kenneth-T-Moore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kenneth-T-Moore/subscriptions","organizations_url":"https://api.github.com/users/Kenneth-T-Moore/orgs","repos_url":"https://api.github.com/users/Kenneth-T-Moore/repos","events_url":"https://api.github.com/users/Kenneth-T-Moore/events{/privacy}","received_events_url":"https://api.github.com/users/Kenneth-T-Moore/received_events","type":"User","site_admin":false},"body":"Is there a docstring for _discrete_inputs and outputs somewhere?","created_at":"2018-10-04T17:10:33Z","updated_at":"2018-10-04T17:35:21Z","html_url":"https://github.com/OpenMDAO/OpenMDAO/pull/780#discussion_r222753990","pull_request_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/pulls/780","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/OpenMDAO/OpenMDAO/pulls/comments/222753990"},"html":{"href":"https://github.com/OpenMDAO/OpenMDAO/pull/780#discussion_r222753990"},"pull_request":{"href":"https://api.github.com/repos/OpenMDAO/OpenMDAO/pulls/780"}}},"pull_request":{"url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/pulls/780","id":220447355,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNDQ3MzU1","html_url":"https://github.com/OpenMDAO/OpenMDAO/pull/780","diff_url":"https://github.com/OpenMDAO/OpenMDAO/pull/780.diff","patch_url":"https://github.com/OpenMDAO/OpenMDAO/pull/780.patch","issue_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/issues/780","number":780,"state":"open","locked":false,"title":"support for discrete variable (pass-by-object) data passing","user":{"login":"naylor-b","id":701448,"node_id":"MDQ6VXNlcjcwMTQ0OA==","avatar_url":"https://avatars0.githubusercontent.com/u/701448?v=4","gravatar_id":"","url":"https://api.github.com/users/naylor-b","html_url":"https://github.com/naylor-b","followers_url":"https://api.github.com/users/naylor-b/followers","following_url":"https://api.github.com/users/naylor-b/following{/other_user}","gists_url":"https://api.github.com/users/naylor-b/gists{/gist_id}","starred_url":"https://api.github.com/users/naylor-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naylor-b/subscriptions","organizations_url":"https://api.github.com/users/naylor-b/orgs","repos_url":"https://api.github.com/users/naylor-b/repos","events_url":"https://api.github.com/users/naylor-b/events{/privacy}","received_events_url":"https://api.github.com/users/naylor-b/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-04T16:51:03Z","updated_at":"2018-10-04T17:35:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"68314594762c2bda8efd5642b1c10c41e5bde681","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/pulls/780/commits","review_comments_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/pulls/780/comments","review_comment_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/issues/780/comments","statuses_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/statuses/d647d05b529fb01fb33e7a3bcf56c8603ca64198","head":{"label":"naylor-b:discrete","ref":"discrete","sha":"d647d05b529fb01fb33e7a3bcf56c8603ca64198","user":{"login":"naylor-b","id":701448,"node_id":"MDQ6VXNlcjcwMTQ0OA==","avatar_url":"https://avatars0.githubusercontent.com/u/701448?v=4","gravatar_id":"","url":"https://api.github.com/users/naylor-b","html_url":"https://github.com/naylor-b","followers_url":"https://api.github.com/users/naylor-b/followers","following_url":"https://api.github.com/users/naylor-b/following{/other_user}","gists_url":"https://api.github.com/users/naylor-b/gists{/gist_id}","starred_url":"https://api.github.com/users/naylor-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naylor-b/subscriptions","organizations_url":"https://api.github.com/users/naylor-b/orgs","repos_url":"https://api.github.com/users/naylor-b/repos","events_url":"https://api.github.com/users/naylor-b/events{/privacy}","received_events_url":"https://api.github.com/users/naylor-b/received_events","type":"User","site_admin":false},"repo":{"id":96928472,"node_id":"MDEwOlJlcG9zaXRvcnk5NjkyODQ3Mg==","name":"OpenMDAO","full_name":"naylor-b/OpenMDAO","private":false,"owner":{"login":"naylor-b","id":701448,"node_id":"MDQ6VXNlcjcwMTQ0OA==","avatar_url":"https://avatars0.githubusercontent.com/u/701448?v=4","gravatar_id":"","url":"https://api.github.com/users/naylor-b","html_url":"https://github.com/naylor-b","followers_url":"https://api.github.com/users/naylor-b/followers","following_url":"https://api.github.com/users/naylor-b/following{/other_user}","gists_url":"https://api.github.com/users/naylor-b/gists{/gist_id}","starred_url":"https://api.github.com/users/naylor-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naylor-b/subscriptions","organizations_url":"https://api.github.com/users/naylor-b/orgs","repos_url":"https://api.github.com/users/naylor-b/repos","events_url":"https://api.github.com/users/naylor-b/events{/privacy}","received_events_url":"https://api.github.com/users/naylor-b/received_events","type":"User","site_admin":false},"html_url":"https://github.com/naylor-b/OpenMDAO","description":null,"fork":true,"url":"https://api.github.com/repos/naylor-b/OpenMDAO","forks_url":"https://api.github.com/repos/naylor-b/OpenMDAO/forks","keys_url":"https://api.github.com/repos/naylor-b/OpenMDAO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/naylor-b/OpenMDAO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/naylor-b/OpenMDAO/teams","hooks_url":"https://api.github.com/repos/naylor-b/OpenMDAO/hooks","issue_events_url":"https://api.github.com/repos/naylor-b/OpenMDAO/issues/events{/number}","events_url":"https://api.github.com/repos/naylor-b/OpenMDAO/events","assignees_url":"https://api.github.com/repos/naylor-b/OpenMDAO/assignees{/user}","branches_url":"https://api.github.com/repos/naylor-b/OpenMDAO/branches{/branch}","tags_url":"https://api.github.com/repos/naylor-b/OpenMDAO/tags","blobs_url":"https://api.github.com/repos/naylor-b/OpenMDAO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/naylor-b/OpenMDAO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/naylor-b/OpenMDAO/git/refs{/sha}","trees_url":"https://api.github.com/repos/naylor-b/OpenMDAO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/naylor-b/OpenMDAO/statuses/{sha}","languages_url":"https://api.github.com/repos/naylor-b/OpenMDAO/languages","stargazers_url":"https://api.github.com/repos/naylor-b/OpenMDAO/stargazers","contributors_url":"https://api.github.com/repos/naylor-b/OpenMDAO/contributors","subscribers_url":"https://api.github.com/repos/naylor-b/OpenMDAO/subscribers","subscription_url":"https://api.github.com/repos/naylor-b/OpenMDAO/subscription","commits_url":"https://api.github.com/repos/naylor-b/OpenMDAO/commits{/sha}","git_commits_url":"https://api.github.com/repos/naylor-b/OpenMDAO/git/commits{/sha}","comments_url":"https://api.github.com/repos/naylor-b/OpenMDAO/comments{/number}","issue_comment_url":"https://api.github.com/repos/naylor-b/OpenMDAO/issues/comments{/number}","contents_url":"https://api.github.com/repos/naylor-b/OpenMDAO/contents/{+path}","compare_url":"https://api.github.com/repos/naylor-b/OpenMDAO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/naylor-b/OpenMDAO/merges","archive_url":"https://api.github.com/repos/naylor-b/OpenMDAO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/naylor-b/OpenMDAO/downloads","issues_url":"https://api.github.com/repos/naylor-b/OpenMDAO/issues{/number}","pulls_url":"https://api.github.com/repos/naylor-b/OpenMDAO/pulls{/number}","milestones_url":"https://api.github.com/repos/naylor-b/OpenMDAO/milestones{/number}","notifications_url":"https://api.github.com/repos/naylor-b/OpenMDAO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/naylor-b/OpenMDAO/labels{/name}","releases_url":"https://api.github.com/repos/naylor-b/OpenMDAO/releases{/id}","deployments_url":"https://api.github.com/repos/naylor-b/OpenMDAO/deployments","created_at":"2017-07-11T19:23:17Z","updated_at":"2018-07-30T12:38:32Z","pushed_at":"2018-10-04T17:28:54Z","git_url":"git://github.com/naylor-b/OpenMDAO.git","ssh_url":"git@github.com:naylor-b/OpenMDAO.git","clone_url":"https://github.com/naylor-b/OpenMDAO.git","svn_url":"https://github.com/naylor-b/OpenMDAO","homepage":null,"size":16291,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenMDAO:master","ref":"master","sha":"dc2fa3452cb85cf01a3492fda529b905596311a3","user":{"login":"OpenMDAO","id":861615,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg2MTYxNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/861615?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenMDAO","html_url":"https://github.com/OpenMDAO","followers_url":"https://api.github.com/users/OpenMDAO/followers","following_url":"https://api.github.com/users/OpenMDAO/following{/other_user}","gists_url":"https://api.github.com/users/OpenMDAO/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenMDAO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenMDAO/subscriptions","organizations_url":"https://api.github.com/users/OpenMDAO/orgs","repos_url":"https://api.github.com/users/OpenMDAO/repos","events_url":"https://api.github.com/users/OpenMDAO/events{/privacy}","received_events_url":"https://api.github.com/users/OpenMDAO/received_events","type":"Organization","site_admin":false},"repo":{"id":66572302,"node_id":"MDEwOlJlcG9zaXRvcnk2NjU3MjMwMg==","name":"OpenMDAO","full_name":"OpenMDAO/OpenMDAO","private":false,"owner":{"login":"OpenMDAO","id":861615,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg2MTYxNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/861615?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenMDAO","html_url":"https://github.com/OpenMDAO","followers_url":"https://api.github.com/users/OpenMDAO/followers","following_url":"https://api.github.com/users/OpenMDAO/following{/other_user}","gists_url":"https://api.github.com/users/OpenMDAO/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenMDAO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenMDAO/subscriptions","organizations_url":"https://api.github.com/users/OpenMDAO/orgs","repos_url":"https://api.github.com/users/OpenMDAO/repos","events_url":"https://api.github.com/users/OpenMDAO/events{/privacy}","received_events_url":"https://api.github.com/users/OpenMDAO/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/OpenMDAO/OpenMDAO","description":"OpenMDAO 2.0 repository. ","fork":false,"url":"https://api.github.com/repos/OpenMDAO/OpenMDAO","forks_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/forks","keys_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/teams","hooks_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/hooks","issue_events_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/issues/events{/number}","events_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/events","assignees_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/assignees{/user}","branches_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/branches{/branch}","tags_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/tags","blobs_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/languages","stargazers_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/stargazers","contributors_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/contributors","subscribers_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/subscribers","subscription_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/subscription","commits_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/contents/{+path}","compare_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/merges","archive_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/downloads","issues_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/issues{/number}","pulls_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/labels{/name}","releases_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/releases{/id}","deployments_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/deployments","created_at":"2016-08-25T15:53:25Z","updated_at":"2018-09-27T12:26:49Z","pushed_at":"2018-10-04T17:31:17Z","git_url":"git://github.com/OpenMDAO/OpenMDAO.git","ssh_url":"git@github.com:OpenMDAO/OpenMDAO.git","clone_url":"https://github.com/OpenMDAO/OpenMDAO.git","svn_url":"https://github.com/OpenMDAO/OpenMDAO","homepage":"http://openmdao.org","size":15959,"stargazers_count":65,"watchers_count":65,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":53,"open_issues":9,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenMDAO/OpenMDAO/pulls/780"},"html":{"href":"https://github.com/OpenMDAO/OpenMDAO/pull/780"},"issue":{"href":"https://api.github.com/repos/OpenMDAO/OpenMDAO/issues/780"},"comments":{"href":"https://api.github.com/repos/OpenMDAO/OpenMDAO/issues/780/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenMDAO/OpenMDAO/pulls/780/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenMDAO/OpenMDAO/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenMDAO/OpenMDAO/pulls/780/commits"},"statuses":{"href":"https://api.github.com/repos/OpenMDAO/OpenMDAO/statuses/d647d05b529fb01fb33e7a3bcf56c8603ca64198"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"Kenneth-T-Moore"}}