{"action":"created","comment":{"url":"https://api.github.com/repos/rigetticomputing/pyquil/pulls/comments/167680095","pull_request_review_id":95933916,"id":167680095,"diff_hunk":"@@ -195,6 +329,8 @@ def __init__(self, name, raw):\n         self.name = name\n         self._raw = raw\n         self.isa = ISA.from_dict(raw['isa']) if 'isa' in raw and raw['isa'] != {} else None\n+        self.specs = Specs.from_dict(raw['specs']) \\\n+            if 'specs' in raw and raw['specs'] != {} else None","path":"pyquil/device.py","position":162,"original_position":162,"commit_id":"ef9d1a579748b061c1874da8322758d32d9f03f0","original_commit_id":"ef9d1a579748b061c1874da8322758d32d9f03f0","user":{"login":"stevenheidel","id":155646,"avatar_url":"https://avatars2.githubusercontent.com/u/155646?v=4","gravatar_id":"","url":"https://api.github.com/users/stevenheidel","html_url":"https://github.com/stevenheidel","followers_url":"https://api.github.com/users/stevenheidel/followers","following_url":"https://api.github.com/users/stevenheidel/following{/other_user}","gists_url":"https://api.github.com/users/stevenheidel/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenheidel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenheidel/subscriptions","organizations_url":"https://api.github.com/users/stevenheidel/orgs","repos_url":"https://api.github.com/users/stevenheidel/repos","events_url":"https://api.github.com/users/stevenheidel/events{/privacy}","received_events_url":"https://api.github.com/users/stevenheidel/received_events","type":"User","site_admin":false},"body":"if raw.get('specs', None)","created_at":"2018-02-12T20:42:26Z","updated_at":"2018-02-12T20:42:26Z","html_url":"https://github.com/rigetticomputing/pyquil/pull/319#discussion_r167680095","pull_request_url":"https://api.github.com/repos/rigetticomputing/pyquil/pulls/319","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/rigetticomputing/pyquil/pulls/comments/167680095"},"html":{"href":"https://github.com/rigetticomputing/pyquil/pull/319#discussion_r167680095"},"pull_request":{"href":"https://api.github.com/repos/rigetticomputing/pyquil/pulls/319"}}},"pull_request":{"url":"https://api.github.com/repos/rigetticomputing/pyquil/pulls/319","id":168481246,"html_url":"https://github.com/rigetticomputing/pyquil/pull/319","diff_url":"https://github.com/rigetticomputing/pyquil/pull/319.diff","patch_url":"https://github.com/rigetticomputing/pyquil/pull/319.patch","issue_url":"https://api.github.com/repos/rigetticomputing/pyquil/issues/319","number":319,"state":"open","locked":false,"title":"feature/318/device-specs","user":{"login":"cbosborn","id":3632945,"avatar_url":"https://avatars0.githubusercontent.com/u/3632945?v=4","gravatar_id":"","url":"https://api.github.com/users/cbosborn","html_url":"https://github.com/cbosborn","followers_url":"https://api.github.com/users/cbosborn/followers","following_url":"https://api.github.com/users/cbosborn/following{/other_user}","gists_url":"https://api.github.com/users/cbosborn/gists{/gist_id}","starred_url":"https://api.github.com/users/cbosborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbosborn/subscriptions","organizations_url":"https://api.github.com/users/cbosborn/orgs","repos_url":"https://api.github.com/users/cbosborn/repos","events_url":"https://api.github.com/users/cbosborn/events{/privacy}","received_events_url":"https://api.github.com/users/cbosborn/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-11T23:28:53Z","updated_at":"2018-02-12T20:42:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f66acd1b4a95b4264dd3715a044b6c59c41f862","assignee":null,"assignees":[],"requested_reviewers":[{"login":"pkaralekas","id":3578739,"avatar_url":"https://avatars3.githubusercontent.com/u/3578739?v=4","gravatar_id":"","url":"https://api.github.com/users/pkaralekas","html_url":"https://github.com/pkaralekas","followers_url":"https://api.github.com/users/pkaralekas/followers","following_url":"https://api.github.com/users/pkaralekas/following{/other_user}","gists_url":"https://api.github.com/users/pkaralekas/gists{/gist_id}","starred_url":"https://api.github.com/users/pkaralekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkaralekas/subscriptions","organizations_url":"https://api.github.com/users/pkaralekas/orgs","repos_url":"https://api.github.com/users/pkaralekas/repos","events_url":"https://api.github.com/users/pkaralekas/events{/privacy}","received_events_url":"https://api.github.com/users/pkaralekas/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rigetticomputing/pyquil/pulls/319/commits","review_comments_url":"https://api.github.com/repos/rigetticomputing/pyquil/pulls/319/comments","review_comment_url":"https://api.github.com/repos/rigetticomputing/pyquil/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rigetticomputing/pyquil/issues/319/comments","statuses_url":"https://api.github.com/repos/rigetticomputing/pyquil/statuses/ef9d1a579748b061c1874da8322758d32d9f03f0","head":{"label":"rigetticomputing:feature/318/device-specs","ref":"feature/318/device-specs","sha":"ef9d1a579748b061c1874da8322758d32d9f03f0","user":{"login":"rigetticomputing","id":16469771,"avatar_url":"https://avatars1.githubusercontent.com/u/16469771?v=4","gravatar_id":"","url":"https://api.github.com/users/rigetticomputing","html_url":"https://github.com/rigetticomputing","followers_url":"https://api.github.com/users/rigetticomputing/followers","following_url":"https://api.github.com/users/rigetticomputing/following{/other_user}","gists_url":"https://api.github.com/users/rigetticomputing/gists{/gist_id}","starred_url":"https://api.github.com/users/rigetticomputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rigetticomputing/subscriptions","organizations_url":"https://api.github.com/users/rigetticomputing/orgs","repos_url":"https://api.github.com/users/rigetticomputing/repos","events_url":"https://api.github.com/users/rigetticomputing/events{/privacy}","received_events_url":"https://api.github.com/users/rigetticomputing/received_events","type":"Organization","site_admin":false},"repo":{"id":78470807,"name":"pyquil","full_name":"rigetticomputing/pyquil","owner":{"login":"rigetticomputing","id":16469771,"avatar_url":"https://avatars1.githubusercontent.com/u/16469771?v=4","gravatar_id":"","url":"https://api.github.com/users/rigetticomputing","html_url":"https://github.com/rigetticomputing","followers_url":"https://api.github.com/users/rigetticomputing/followers","following_url":"https://api.github.com/users/rigetticomputing/following{/other_user}","gists_url":"https://api.github.com/users/rigetticomputing/gists{/gist_id}","starred_url":"https://api.github.com/users/rigetticomputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rigetticomputing/subscriptions","organizations_url":"https://api.github.com/users/rigetticomputing/orgs","repos_url":"https://api.github.com/users/rigetticomputing/repos","events_url":"https://api.github.com/users/rigetticomputing/events{/privacy}","received_events_url":"https://api.github.com/users/rigetticomputing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rigetticomputing/pyquil","description":"A Python library for quantum programming using Quil.","fork":false,"url":"https://api.github.com/repos/rigetticomputing/pyquil","forks_url":"https://api.github.com/repos/rigetticomputing/pyquil/forks","keys_url":"https://api.github.com/repos/rigetticomputing/pyquil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rigetticomputing/pyquil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rigetticomputing/pyquil/teams","hooks_url":"https://api.github.com/repos/rigetticomputing/pyquil/hooks","issue_events_url":"https://api.github.com/repos/rigetticomputing/pyquil/issues/events{/number}","events_url":"https://api.github.com/repos/rigetticomputing/pyquil/events","assignees_url":"https://api.github.com/repos/rigetticomputing/pyquil/assignees{/user}","branches_url":"https://api.github.com/repos/rigetticomputing/pyquil/branches{/branch}","tags_url":"https://api.github.com/repos/rigetticomputing/pyquil/tags","blobs_url":"https://api.github.com/repos/rigetticomputing/pyquil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rigetticomputing/pyquil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rigetticomputing/pyquil/git/refs{/sha}","trees_url":"https://api.github.com/repos/rigetticomputing/pyquil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rigetticomputing/pyquil/statuses/{sha}","languages_url":"https://api.github.com/repos/rigetticomputing/pyquil/languages","stargazers_url":"https://api.github.com/repos/rigetticomputing/pyquil/stargazers","contributors_url":"https://api.github.com/repos/rigetticomputing/pyquil/contributors","subscribers_url":"https://api.github.com/repos/rigetticomputing/pyquil/subscribers","subscription_url":"https://api.github.com/repos/rigetticomputing/pyquil/subscription","commits_url":"https://api.github.com/repos/rigetticomputing/pyquil/commits{/sha}","git_commits_url":"https://api.github.com/repos/rigetticomputing/pyquil/git/commits{/sha}","comments_url":"https://api.github.com/repos/rigetticomputing/pyquil/comments{/number}","issue_comment_url":"https://api.github.com/repos/rigetticomputing/pyquil/issues/comments{/number}","contents_url":"https://api.github.com/repos/rigetticomputing/pyquil/contents/{+path}","compare_url":"https://api.github.com/repos/rigetticomputing/pyquil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rigetticomputing/pyquil/merges","archive_url":"https://api.github.com/repos/rigetticomputing/pyquil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rigetticomputing/pyquil/downloads","issues_url":"https://api.github.com/repos/rigetticomputing/pyquil/issues{/number}","pulls_url":"https://api.github.com/repos/rigetticomputing/pyquil/pulls{/number}","milestones_url":"https://api.github.com/repos/rigetticomputing/pyquil/milestones{/number}","notifications_url":"https://api.github.com/repos/rigetticomputing/pyquil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rigetticomputing/pyquil/labels{/name}","releases_url":"https://api.github.com/repos/rigetticomputing/pyquil/releases{/id}","deployments_url":"https://api.github.com/repos/rigetticomputing/pyquil/deployments","created_at":"2017-01-09T21:30:22Z","updated_at":"2018-02-11T12:29:08Z","pushed_at":"2018-02-12T20:24:18Z","git_url":"git://github.com/rigetticomputing/pyquil.git","ssh_url":"git@github.com:rigetticomputing/pyquil.git","clone_url":"https://github.com/rigetticomputing/pyquil.git","svn_url":"https://github.com/rigetticomputing/pyquil","homepage":"http://forest.rigetti.com","size":44321,"stargazers_count":286,"watchers_count":286,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":86,"mirror_url":null,"archived":false,"open_issues_count":49,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":86,"open_issues":49,"watchers":286,"default_branch":"master"}},"base":{"label":"rigetticomputing:master","ref":"master","sha":"eee7de485c5f951e2752275dcdf0d2b002883969","user":{"login":"rigetticomputing","id":16469771,"avatar_url":"https://avatars1.githubusercontent.com/u/16469771?v=4","gravatar_id":"","url":"https://api.github.com/users/rigetticomputing","html_url":"https://github.com/rigetticomputing","followers_url":"https://api.github.com/users/rigetticomputing/followers","following_url":"https://api.github.com/users/rigetticomputing/following{/other_user}","gists_url":"https://api.github.com/users/rigetticomputing/gists{/gist_id}","starred_url":"https://api.github.com/users/rigetticomputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rigetticomputing/subscriptions","organizations_url":"https://api.github.com/users/rigetticomputing/orgs","repos_url":"https://api.github.com/users/rigetticomputing/repos","events_url":"https://api.github.com/users/rigetticomputing/events{/privacy}","received_events_url":"https://api.github.com/users/rigetticomputing/received_events","type":"Organization","site_admin":false},"repo":{"id":78470807,"name":"pyquil","full_name":"rigetticomputing/pyquil","owner":{"login":"rigetticomputing","id":16469771,"avatar_url":"https://avatars1.githubusercontent.com/u/16469771?v=4","gravatar_id":"","url":"https://api.github.com/users/rigetticomputing","html_url":"https://github.com/rigetticomputing","followers_url":"https://api.github.com/users/rigetticomputing/followers","following_url":"https://api.github.com/users/rigetticomputing/following{/other_user}","gists_url":"https://api.github.com/users/rigetticomputing/gists{/gist_id}","starred_url":"https://api.github.com/users/rigetticomputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rigetticomputing/subscriptions","organizations_url":"https://api.github.com/users/rigetticomputing/orgs","repos_url":"https://api.github.com/users/rigetticomputing/repos","events_url":"https://api.github.com/users/rigetticomputing/events{/privacy}","received_events_url":"https://api.github.com/users/rigetticomputing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rigetticomputing/pyquil","description":"A Python library for quantum programming using Quil.","fork":false,"url":"https://api.github.com/repos/rigetticomputing/pyquil","forks_url":"https://api.github.com/repos/rigetticomputing/pyquil/forks","keys_url":"https://api.github.com/repos/rigetticomputing/pyquil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rigetticomputing/pyquil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rigetticomputing/pyquil/teams","hooks_url":"https://api.github.com/repos/rigetticomputing/pyquil/hooks","issue_events_url":"https://api.github.com/repos/rigetticomputing/pyquil/issues/events{/number}","events_url":"https://api.github.com/repos/rigetticomputing/pyquil/events","assignees_url":"https://api.github.com/repos/rigetticomputing/pyquil/assignees{/user}","branches_url":"https://api.github.com/repos/rigetticomputing/pyquil/branches{/branch}","tags_url":"https://api.github.com/repos/rigetticomputing/pyquil/tags","blobs_url":"https://api.github.com/repos/rigetticomputing/pyquil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rigetticomputing/pyquil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rigetticomputing/pyquil/git/refs{/sha}","trees_url":"https://api.github.com/repos/rigetticomputing/pyquil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rigetticomputing/pyquil/statuses/{sha}","languages_url":"https://api.github.com/repos/rigetticomputing/pyquil/languages","stargazers_url":"https://api.github.com/repos/rigetticomputing/pyquil/stargazers","contributors_url":"https://api.github.com/repos/rigetticomputing/pyquil/contributors","subscribers_url":"https://api.github.com/repos/rigetticomputing/pyquil/subscribers","subscription_url":"https://api.github.com/repos/rigetticomputing/pyquil/subscription","commits_url":"https://api.github.com/repos/rigetticomputing/pyquil/commits{/sha}","git_commits_url":"https://api.github.com/repos/rigetticomputing/pyquil/git/commits{/sha}","comments_url":"https://api.github.com/repos/rigetticomputing/pyquil/comments{/number}","issue_comment_url":"https://api.github.com/repos/rigetticomputing/pyquil/issues/comments{/number}","contents_url":"https://api.github.com/repos/rigetticomputing/pyquil/contents/{+path}","compare_url":"https://api.github.com/repos/rigetticomputing/pyquil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rigetticomputing/pyquil/merges","archive_url":"https://api.github.com/repos/rigetticomputing/pyquil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rigetticomputing/pyquil/downloads","issues_url":"https://api.github.com/repos/rigetticomputing/pyquil/issues{/number}","pulls_url":"https://api.github.com/repos/rigetticomputing/pyquil/pulls{/number}","milestones_url":"https://api.github.com/repos/rigetticomputing/pyquil/milestones{/number}","notifications_url":"https://api.github.com/repos/rigetticomputing/pyquil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rigetticomputing/pyquil/labels{/name}","releases_url":"https://api.github.com/repos/rigetticomputing/pyquil/releases{/id}","deployments_url":"https://api.github.com/repos/rigetticomputing/pyquil/deployments","created_at":"2017-01-09T21:30:22Z","updated_at":"2018-02-11T12:29:08Z","pushed_at":"2018-02-12T20:24:18Z","git_url":"git://github.com/rigetticomputing/pyquil.git","ssh_url":"git@github.com:rigetticomputing/pyquil.git","clone_url":"https://github.com/rigetticomputing/pyquil.git","svn_url":"https://github.com/rigetticomputing/pyquil","homepage":"http://forest.rigetti.com","size":44321,"stargazers_count":286,"watchers_count":286,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":86,"mirror_url":null,"archived":false,"open_issues_count":49,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":86,"open_issues":49,"watchers":286,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rigetticomputing/pyquil/pulls/319"},"html":{"href":"https://github.com/rigetticomputing/pyquil/pull/319"},"issue":{"href":"https://api.github.com/repos/rigetticomputing/pyquil/issues/319"},"comments":{"href":"https://api.github.com/repos/rigetticomputing/pyquil/issues/319/comments"},"review_comments":{"href":"https://api.github.com/repos/rigetticomputing/pyquil/pulls/319/comments"},"review_comment":{"href":"https://api.github.com/repos/rigetticomputing/pyquil/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rigetticomputing/pyquil/pulls/319/commits"},"statuses":{"href":"https://api.github.com/repos/rigetticomputing/pyquil/statuses/ef9d1a579748b061c1874da8322758d32d9f03f0"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"stevenheidel"}}