{"action":"opened","number":174,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/pulls/174","id":37254359,"html_url":"https://github.com/elastic/elasticsearch-dsl-py/pull/174","diff_url":"https://github.com/elastic/elasticsearch-dsl-py/pull/174.diff","patch_url":"https://github.com/elastic/elasticsearch-dsl-py/pull/174.patch","issue_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/174","number":174,"state":"open","locked":false,"title":"Missing document always raises a NotFoundError exception.","user":{"login":"alexandre-figura","id":1451381,"avatar_url":"https://avatars.githubusercontent.com/u/1451381?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandre-figura","html_url":"https://github.com/alexandre-figura","followers_url":"https://api.github.com/users/alexandre-figura/followers","following_url":"https://api.github.com/users/alexandre-figura/following{/other_user}","gists_url":"https://api.github.com/users/alexandre-figura/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandre-figura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandre-figura/subscriptions","organizations_url":"https://api.github.com/users/alexandre-figura/orgs","repos_url":"https://api.github.com/users/alexandre-figura/repos","events_url":"https://api.github.com/users/alexandre-figura/events{/privacy}","received_events_url":"https://api.github.com/users/alexandre-figura/received_events","type":"User","site_admin":false},"body":"The Elasticsearch client raises a ``NotFoundError`` exception when a document is not found. Hence, it is not relevant to inspect the response body of the server.\r\n\r\nMoreover, when a document is not found, the integration tests only verify that the ``NotFoundError`` exception is raised:\r\nhttps://github.com/elastic/elasticsearch-dsl-py/blob/master/test_elasticsearch_dsl/test_integration/test_document.py#L44","created_at":"2015-06-09T13:44:52Z","updated_at":"2015-06-09T13:44:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/pulls/174/commits","review_comments_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/pulls/174/comments","review_comment_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/174/comments","statuses_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/statuses/a55caf03a8ebd76251f6a578f1f56db0416f2619","head":{"label":"alexandre-figura:master","ref":"master","sha":"a55caf03a8ebd76251f6a578f1f56db0416f2619","user":{"login":"alexandre-figura","id":1451381,"avatar_url":"https://avatars.githubusercontent.com/u/1451381?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandre-figura","html_url":"https://github.com/alexandre-figura","followers_url":"https://api.github.com/users/alexandre-figura/followers","following_url":"https://api.github.com/users/alexandre-figura/following{/other_user}","gists_url":"https://api.github.com/users/alexandre-figura/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandre-figura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandre-figura/subscriptions","organizations_url":"https://api.github.com/users/alexandre-figura/orgs","repos_url":"https://api.github.com/users/alexandre-figura/repos","events_url":"https://api.github.com/users/alexandre-figura/events{/privacy}","received_events_url":"https://api.github.com/users/alexandre-figura/received_events","type":"User","site_admin":false},"repo":{"id":37133187,"name":"elasticsearch-dsl-py","full_name":"alexandre-figura/elasticsearch-dsl-py","owner":{"login":"alexandre-figura","id":1451381,"avatar_url":"https://avatars.githubusercontent.com/u/1451381?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandre-figura","html_url":"https://github.com/alexandre-figura","followers_url":"https://api.github.com/users/alexandre-figura/followers","following_url":"https://api.github.com/users/alexandre-figura/following{/other_user}","gists_url":"https://api.github.com/users/alexandre-figura/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandre-figura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandre-figura/subscriptions","organizations_url":"https://api.github.com/users/alexandre-figura/orgs","repos_url":"https://api.github.com/users/alexandre-figura/repos","events_url":"https://api.github.com/users/alexandre-figura/events{/privacy}","received_events_url":"https://api.github.com/users/alexandre-figura/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexandre-figura/elasticsearch-dsl-py","description":"High level Python client for Elasticsearch","fork":true,"url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py","forks_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/forks","keys_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/teams","hooks_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/hooks","issue_events_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/issues/events{/number}","events_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/events","assignees_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/assignees{/user}","branches_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/branches{/branch}","tags_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/tags","blobs_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/statuses/{sha}","languages_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/languages","stargazers_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/stargazers","contributors_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/contributors","subscribers_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/subscribers","subscription_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/subscription","commits_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/contents/{+path}","compare_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/merges","archive_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/downloads","issues_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/issues{/number}","pulls_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/pulls{/number}","milestones_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/milestones{/number}","notifications_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/labels{/name}","releases_url":"https://api.github.com/repos/alexandre-figura/elasticsearch-dsl-py/releases{/id}","created_at":"2015-06-09T13:20:25Z","updated_at":"2015-06-09T13:20:25Z","pushed_at":"2015-06-09T13:29:52Z","git_url":"git://github.com/alexandre-figura/elasticsearch-dsl-py.git","ssh_url":"git@github.com:alexandre-figura/elasticsearch-dsl-py.git","clone_url":"https://github.com/alexandre-figura/elasticsearch-dsl-py.git","svn_url":"https://github.com/alexandre-figura/elasticsearch-dsl-py","homepage":"http://elasticsearch-dsl.readthedocs.org/","size":1709,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"elastic:master","ref":"master","sha":"dc3021d17fc83c8fc2421f2925ebd2880398ae1b","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":17446726,"name":"elasticsearch-dsl-py","full_name":"elastic/elasticsearch-dsl-py","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/elasticsearch-dsl-py","description":"High level Python client for Elasticsearch","fork":false,"url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py","forks_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/forks","keys_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/teams","hooks_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/hooks","issue_events_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/events","assignees_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/tags","blobs_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/languages","stargazers_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/stargazers","contributors_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/contributors","subscribers_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/subscribers","subscription_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/subscription","commits_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/merges","archive_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/downloads","issues_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/labels{/name}","releases_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/releases{/id}","created_at":"2014-03-05T16:19:39Z","updated_at":"2015-06-08T09:22:10Z","pushed_at":"2015-06-08T21:57:15Z","git_url":"git://github.com/elastic/elasticsearch-dsl-py.git","ssh_url":"git@github.com:elastic/elasticsearch-dsl-py.git","clone_url":"https://github.com/elastic/elasticsearch-dsl-py.git","svn_url":"https://github.com/elastic/elasticsearch-dsl-py","homepage":"http://elasticsearch-dsl.readthedocs.org/","size":1709,"stargazers_count":389,"watchers_count":389,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":79,"mirror_url":null,"open_issues_count":22,"forks":79,"open_issues":22,"watchers":389,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/pulls/174"},"html":{"href":"https://github.com/elastic/elasticsearch-dsl-py/pull/174"},"issue":{"href":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/174"},"comments":{"href":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/statuses/a55caf03a8ebd76251f6a578f1f56db0416f2619"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":0,"deletions":2,"changed_files":1}}