{"action":"opened","number":686,"pull_request":{"url":"https://api.github.com/repos/Qiskit/qiskit-terra/pulls/686","id":203944478,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzOTQ0NDc4","html_url":"https://github.com/Qiskit/qiskit-terra/pull/686","diff_url":"https://github.com/Qiskit/qiskit-terra/pull/686.diff","patch_url":"https://github.com/Qiskit/qiskit-terra/pull/686.patch","issue_url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/686","number":686,"state":"open","locked":false,"title":"[WIP] Issue 657 - Refactor Jobs interface","user":{"login":"atilag","id":1304071,"node_id":"MDQ6VXNlcjEzMDQwNzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1304071?v=4","gravatar_id":"","url":"https://api.github.com/users/atilag","html_url":"https://github.com/atilag","followers_url":"https://api.github.com/users/atilag/followers","following_url":"https://api.github.com/users/atilag/following{/other_user}","gists_url":"https://api.github.com/users/atilag/gists{/gist_id}","starred_url":"https://api.github.com/users/atilag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atilag/subscriptions","organizations_url":"https://api.github.com/users/atilag/orgs","repos_url":"https://api.github.com/users/atilag/repos","events_url":"https://api.github.com/users/atilag/events{/privacy}","received_events_url":"https://api.github.com/users/atilag/received_events","type":"User","site_admin":false},"body":"* Now there's only one constructor (no classmethod constructors).\r\n* Now there's a new submit() method that needs to be called in order\r\n  to send the job to the backend, in both IBMQJob and LocalJob for\r\n  consistency.\r\n* Removed exeception() property. Now if there's something wrong\r\n  while submitting, checking for the status, or results, an exception\r\n  will be thrown in this very moment.\r\n* Calling IBMQJob.id property will block until we have an ID from the\r\n  API server.\r\n* IBMQjob.status() has changed. Now is a method and just returns the\r\n  JobStatus enum. If there's still no job ID, it will return the\r\n  current status immediately, so calling properties like done(),\r\n  running(), queued(), etc, will return False.\r\n* Added new method: IBMQJob.queue_position() the will be populated\r\n  during IBMQJob.status() and will return the position in the queue\r\n  if the job has been queued.\r\n* Some minor internal refactorig to improve readability\r\n* Changed all tests accordingly to the new behavior\r\n\r\n<!--\r\n⚠️ If you do not respect this template, your pull request will be closed.\r\n⚠️ Your pull request title should be short detailed and understandable for all.\r\n⚠️ Also, please add it in the CHANGELOG file under Unreleased section.\r\n⚠️ If your pull request fixes an open issue, please link to the issue.\r\n\r\n✅ I have added the tests to cover my changes.\r\n✅ I have updated the documentation accordingly.\r\n✅ I have read the CONTRIBUTING document.\r\n-->\r\n\r\n### Details and comments\r\nThere are some more tests I'd like to add before merging this, but the functionality is finished.\r\n\r\n","created_at":"2018-07-25T19:51:05Z","updated_at":"2018-07-25T19:51:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Qiskit/qiskit-terra/pulls/686/commits","review_comments_url":"https://api.github.com/repos/Qiskit/qiskit-terra/pulls/686/comments","review_comment_url":"https://api.github.com/repos/Qiskit/qiskit-terra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/686/comments","statuses_url":"https://api.github.com/repos/Qiskit/qiskit-terra/statuses/fd2993df48c3ff270d4c67a9704bbdb000bc2c30","head":{"label":"atilag:jobs_simplification","ref":"jobs_simplification","sha":"fd2993df48c3ff270d4c67a9704bbdb000bc2c30","user":{"login":"atilag","id":1304071,"node_id":"MDQ6VXNlcjEzMDQwNzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1304071?v=4","gravatar_id":"","url":"https://api.github.com/users/atilag","html_url":"https://github.com/atilag","followers_url":"https://api.github.com/users/atilag/followers","following_url":"https://api.github.com/users/atilag/following{/other_user}","gists_url":"https://api.github.com/users/atilag/gists{/gist_id}","starred_url":"https://api.github.com/users/atilag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atilag/subscriptions","organizations_url":"https://api.github.com/users/atilag/orgs","repos_url":"https://api.github.com/users/atilag/repos","events_url":"https://api.github.com/users/atilag/events{/privacy}","received_events_url":"https://api.github.com/users/atilag/received_events","type":"User","site_admin":false},"repo":{"id":99573545,"node_id":"MDEwOlJlcG9zaXRvcnk5OTU3MzU0NQ==","name":"qiskit-sdk-py","full_name":"atilag/qiskit-sdk-py","owner":{"login":"atilag","id":1304071,"node_id":"MDQ6VXNlcjEzMDQwNzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1304071?v=4","gravatar_id":"","url":"https://api.github.com/users/atilag","html_url":"https://github.com/atilag","followers_url":"https://api.github.com/users/atilag/followers","following_url":"https://api.github.com/users/atilag/following{/other_user}","gists_url":"https://api.github.com/users/atilag/gists{/gist_id}","starred_url":"https://api.github.com/users/atilag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atilag/subscriptions","organizations_url":"https://api.github.com/users/atilag/orgs","repos_url":"https://api.github.com/users/atilag/repos","events_url":"https://api.github.com/users/atilag/events{/privacy}","received_events_url":"https://api.github.com/users/atilag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/atilag/qiskit-sdk-py","description":"Python tools for running quantum information experiments","fork":true,"url":"https://api.github.com/repos/atilag/qiskit-sdk-py","forks_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/forks","keys_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/teams","hooks_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/hooks","issue_events_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/issues/events{/number}","events_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/events","assignees_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/assignees{/user}","branches_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/branches{/branch}","tags_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/tags","blobs_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/statuses/{sha}","languages_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/languages","stargazers_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/stargazers","contributors_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/contributors","subscribers_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/subscribers","subscription_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/subscription","commits_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/contents/{+path}","compare_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/merges","archive_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/downloads","issues_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/issues{/number}","pulls_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/pulls{/number}","milestones_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/milestones{/number}","notifications_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/labels{/name}","releases_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/releases{/id}","deployments_url":"https://api.github.com/repos/atilag/qiskit-sdk-py/deployments","created_at":"2017-08-07T12:02:04Z","updated_at":"2018-04-17T09:49:22Z","pushed_at":"2018-07-25T19:48:18Z","git_url":"git://github.com/atilag/qiskit-sdk-py.git","ssh_url":"git@github.com:atilag/qiskit-sdk-py.git","clone_url":"https://github.com/atilag/qiskit-sdk-py.git","svn_url":"https://github.com/atilag/qiskit-sdk-py","homepage":"","size":28165,"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":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Qiskit:master","ref":"master","sha":"909728c61d094eaf33a706d513e9a84a53370a5a","user":{"login":"Qiskit","id":30696987,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNjk2OTg3","avatar_url":"https://avatars1.githubusercontent.com/u/30696987?v=4","gravatar_id":"","url":"https://api.github.com/users/Qiskit","html_url":"https://github.com/Qiskit","followers_url":"https://api.github.com/users/Qiskit/followers","following_url":"https://api.github.com/users/Qiskit/following{/other_user}","gists_url":"https://api.github.com/users/Qiskit/gists{/gist_id}","starred_url":"https://api.github.com/users/Qiskit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qiskit/subscriptions","organizations_url":"https://api.github.com/users/Qiskit/orgs","repos_url":"https://api.github.com/users/Qiskit/repos","events_url":"https://api.github.com/users/Qiskit/events{/privacy}","received_events_url":"https://api.github.com/users/Qiskit/received_events","type":"Organization","site_admin":false},"repo":{"id":83821669,"node_id":"MDEwOlJlcG9zaXRvcnk4MzgyMTY2OQ==","name":"qiskit-terra","full_name":"Qiskit/qiskit-terra","owner":{"login":"Qiskit","id":30696987,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNjk2OTg3","avatar_url":"https://avatars1.githubusercontent.com/u/30696987?v=4","gravatar_id":"","url":"https://api.github.com/users/Qiskit","html_url":"https://github.com/Qiskit","followers_url":"https://api.github.com/users/Qiskit/followers","following_url":"https://api.github.com/users/Qiskit/following{/other_user}","gists_url":"https://api.github.com/users/Qiskit/gists{/gist_id}","starred_url":"https://api.github.com/users/Qiskit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qiskit/subscriptions","organizations_url":"https://api.github.com/users/Qiskit/orgs","repos_url":"https://api.github.com/users/Qiskit/repos","events_url":"https://api.github.com/users/Qiskit/events{/privacy}","received_events_url":"https://api.github.com/users/Qiskit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Qiskit/qiskit-terra","description":"Terra provides the foundations for Qiskit. It allows the user to write quantum circuits easily, and takes care of the constraints of real hardware.","fork":false,"url":"https://api.github.com/repos/Qiskit/qiskit-terra","forks_url":"https://api.github.com/repos/Qiskit/qiskit-terra/forks","keys_url":"https://api.github.com/repos/Qiskit/qiskit-terra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Qiskit/qiskit-terra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Qiskit/qiskit-terra/teams","hooks_url":"https://api.github.com/repos/Qiskit/qiskit-terra/hooks","issue_events_url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/events{/number}","events_url":"https://api.github.com/repos/Qiskit/qiskit-terra/events","assignees_url":"https://api.github.com/repos/Qiskit/qiskit-terra/assignees{/user}","branches_url":"https://api.github.com/repos/Qiskit/qiskit-terra/branches{/branch}","tags_url":"https://api.github.com/repos/Qiskit/qiskit-terra/tags","blobs_url":"https://api.github.com/repos/Qiskit/qiskit-terra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Qiskit/qiskit-terra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Qiskit/qiskit-terra/git/refs{/sha}","trees_url":"https://api.github.com/repos/Qiskit/qiskit-terra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Qiskit/qiskit-terra/statuses/{sha}","languages_url":"https://api.github.com/repos/Qiskit/qiskit-terra/languages","stargazers_url":"https://api.github.com/repos/Qiskit/qiskit-terra/stargazers","contributors_url":"https://api.github.com/repos/Qiskit/qiskit-terra/contributors","subscribers_url":"https://api.github.com/repos/Qiskit/qiskit-terra/subscribers","subscription_url":"https://api.github.com/repos/Qiskit/qiskit-terra/subscription","commits_url":"https://api.github.com/repos/Qiskit/qiskit-terra/commits{/sha}","git_commits_url":"https://api.github.com/repos/Qiskit/qiskit-terra/git/commits{/sha}","comments_url":"https://api.github.com/repos/Qiskit/qiskit-terra/comments{/number}","issue_comment_url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/comments{/number}","contents_url":"https://api.github.com/repos/Qiskit/qiskit-terra/contents/{+path}","compare_url":"https://api.github.com/repos/Qiskit/qiskit-terra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Qiskit/qiskit-terra/merges","archive_url":"https://api.github.com/repos/Qiskit/qiskit-terra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Qiskit/qiskit-terra/downloads","issues_url":"https://api.github.com/repos/Qiskit/qiskit-terra/issues{/number}","pulls_url":"https://api.github.com/repos/Qiskit/qiskit-terra/pulls{/number}","milestones_url":"https://api.github.com/repos/Qiskit/qiskit-terra/milestones{/number}","notifications_url":"https://api.github.com/repos/Qiskit/qiskit-terra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Qiskit/qiskit-terra/labels{/name}","releases_url":"https://api.github.com/repos/Qiskit/qiskit-terra/releases{/id}","deployments_url":"https://api.github.com/repos/Qiskit/qiskit-terra/deployments","created_at":"2017-03-03T17:02:42Z","updated_at":"2018-07-25T13:59:25Z","pushed_at":"2018-07-25T16:40:41Z","git_url":"git://github.com/Qiskit/qiskit-terra.git","ssh_url":"git@github.com:Qiskit/qiskit-terra.git","clone_url":"https://github.com/Qiskit/qiskit-terra.git","svn_url":"https://github.com/Qiskit/qiskit-terra","homepage":"https://qiskit.org","size":28222,"stargazers_count":1943,"watchers_count":1943,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":562,"mirror_url":null,"archived":false,"open_issues_count":78,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":562,"open_issues":78,"watchers":1943,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Qiskit/qiskit-terra/pulls/686"},"html":{"href":"https://github.com/Qiskit/qiskit-terra/pull/686"},"issue":{"href":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/686"},"comments":{"href":"https://api.github.com/repos/Qiskit/qiskit-terra/issues/686/comments"},"review_comments":{"href":"https://api.github.com/repos/Qiskit/qiskit-terra/pulls/686/comments"},"review_comment":{"href":"https://api.github.com/repos/Qiskit/qiskit-terra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Qiskit/qiskit-terra/pulls/686/commits"},"statuses":{"href":"https://api.github.com/repos/Qiskit/qiskit-terra/statuses/fd2993df48c3ff270d4c67a9704bbdb000bc2c30"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":297,"deletions":310,"changed_files":12}}
{"actor":{"display_login":"atilag"}}