{"action":"created","comment":{"url":"https://api.github.com/repos/elasticsales/flask-common/pulls/comments/23125812","id":23125812,"diff_hunk":"@@ -162,6 +162,12 @@ def get_instance_for_each_type(objs):\n                 types.append(type(obj))\n         return instances\n \n+    def setattr_unchanged(obj, key, val):","path":"flask_common/documents.py","position":4,"original_position":4,"commit_id":"4a183f58605ee25739d11a5c78e600ad0cc2b342","original_commit_id":"4a183f58605ee25739d11a5c78e600ad0cc2b342","user":{"login":"philfreo","id":97612,"avatar_url":"https://avatars.githubusercontent.com/u/97612?v=3","gravatar_id":"","url":"https://api.github.com/users/philfreo","html_url":"https://github.com/philfreo","followers_url":"https://api.github.com/users/philfreo/followers","following_url":"https://api.github.com/users/philfreo/following{/other_user}","gists_url":"https://api.github.com/users/philfreo/gists{/gist_id}","starred_url":"https://api.github.com/users/philfreo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philfreo/subscriptions","organizations_url":"https://api.github.com/users/philfreo/orgs","repos_url":"https://api.github.com/users/philfreo/repos","events_url":"https://api.github.com/users/philfreo/events{/privacy}","received_events_url":"https://api.github.com/users/philfreo/received_events","type":"User","site_admin":false},"body":"add docstring","created_at":"2015-01-17T15:10:21Z","updated_at":"2015-01-17T15:10:21Z","html_url":"https://github.com/elasticsales/flask-common/pull/6#discussion_r23125812","pull_request_url":"https://api.github.com/repos/elasticsales/flask-common/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/elasticsales/flask-common/pulls/comments/23125812"},"html":{"href":"https://github.com/elasticsales/flask-common/pull/6#discussion_r23125812"},"pull_request":{"href":"https://api.github.com/repos/elasticsales/flask-common/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/elasticsales/flask-common/pulls/6","id":27549476,"html_url":"https://github.com/elasticsales/flask-common/pull/6","diff_url":"https://github.com/elasticsales/flask-common/pull/6.diff","patch_url":"https://github.com/elasticsales/flask-common/pull/6.patch","issue_url":"https://api.github.com/repos/elasticsales/flask-common/issues/6","number":6,"state":"open","locked":false,"title":"Don't mark fields as changed in fetch_related","user":{"login":"thomasst","id":68381,"avatar_url":"https://avatars.githubusercontent.com/u/68381?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasst","html_url":"https://github.com/thomasst","followers_url":"https://api.github.com/users/thomasst/followers","following_url":"https://api.github.com/users/thomasst/following{/other_user}","gists_url":"https://api.github.com/users/thomasst/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasst/subscriptions","organizations_url":"https://api.github.com/users/thomasst/orgs","repos_url":"https://api.github.com/users/thomasst/repos","events_url":"https://api.github.com/users/thomasst/events{/privacy}","received_events_url":"https://api.github.com/users/thomasst/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-17T01:36:10Z","updated_at":"2015-01-17T15:10:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e331c26262160c483e8dfca9eaade29e137267f2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elasticsales/flask-common/pulls/6/commits","review_comments_url":"https://api.github.com/repos/elasticsales/flask-common/pulls/6/comments","review_comment_url":"https://api.github.com/repos/elasticsales/flask-common/pulls/comments/{number}","comments_url":"https://api.github.com/repos/elasticsales/flask-common/issues/6/comments","statuses_url":"https://api.github.com/repos/elasticsales/flask-common/statuses/4a183f58605ee25739d11a5c78e600ad0cc2b342","head":{"label":"elasticsales:fix-fetch-related","ref":"fix-fetch-related","sha":"4a183f58605ee25739d11a5c78e600ad0cc2b342","user":{"login":"elasticsales","id":437267,"avatar_url":"https://avatars.githubusercontent.com/u/437267?v=3","gravatar_id":"","url":"https://api.github.com/users/elasticsales","html_url":"https://github.com/elasticsales","followers_url":"https://api.github.com/users/elasticsales/followers","following_url":"https://api.github.com/users/elasticsales/following{/other_user}","gists_url":"https://api.github.com/users/elasticsales/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticsales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticsales/subscriptions","organizations_url":"https://api.github.com/users/elasticsales/orgs","repos_url":"https://api.github.com/users/elasticsales/repos","events_url":"https://api.github.com/users/elasticsales/events{/privacy}","received_events_url":"https://api.github.com/users/elasticsales/received_events","type":"Organization","site_admin":false},"repo":{"id":4857671,"name":"flask-common","full_name":"elasticsales/flask-common","owner":{"login":"elasticsales","id":437267,"avatar_url":"https://avatars.githubusercontent.com/u/437267?v=3","gravatar_id":"","url":"https://api.github.com/users/elasticsales","html_url":"https://github.com/elasticsales","followers_url":"https://api.github.com/users/elasticsales/followers","following_url":"https://api.github.com/users/elasticsales/following{/other_user}","gists_url":"https://api.github.com/users/elasticsales/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticsales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticsales/subscriptions","organizations_url":"https://api.github.com/users/elasticsales/orgs","repos_url":"https://api.github.com/users/elasticsales/repos","events_url":"https://api.github.com/users/elasticsales/events{/privacy}","received_events_url":"https://api.github.com/users/elasticsales/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elasticsales/flask-common","description":"Some commonly shared code for Flask, MongoEngine, and Python apps","fork":false,"url":"https://api.github.com/repos/elasticsales/flask-common","forks_url":"https://api.github.com/repos/elasticsales/flask-common/forks","keys_url":"https://api.github.com/repos/elasticsales/flask-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elasticsales/flask-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elasticsales/flask-common/teams","hooks_url":"https://api.github.com/repos/elasticsales/flask-common/hooks","issue_events_url":"https://api.github.com/repos/elasticsales/flask-common/issues/events{/number}","events_url":"https://api.github.com/repos/elasticsales/flask-common/events","assignees_url":"https://api.github.com/repos/elasticsales/flask-common/assignees{/user}","branches_url":"https://api.github.com/repos/elasticsales/flask-common/branches{/branch}","tags_url":"https://api.github.com/repos/elasticsales/flask-common/tags","blobs_url":"https://api.github.com/repos/elasticsales/flask-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elasticsales/flask-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elasticsales/flask-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/elasticsales/flask-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elasticsales/flask-common/statuses/{sha}","languages_url":"https://api.github.com/repos/elasticsales/flask-common/languages","stargazers_url":"https://api.github.com/repos/elasticsales/flask-common/stargazers","contributors_url":"https://api.github.com/repos/elasticsales/flask-common/contributors","subscribers_url":"https://api.github.com/repos/elasticsales/flask-common/subscribers","subscription_url":"https://api.github.com/repos/elasticsales/flask-common/subscription","commits_url":"https://api.github.com/repos/elasticsales/flask-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/elasticsales/flask-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/elasticsales/flask-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/elasticsales/flask-common/issues/comments/{number}","contents_url":"https://api.github.com/repos/elasticsales/flask-common/contents/{+path}","compare_url":"https://api.github.com/repos/elasticsales/flask-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elasticsales/flask-common/merges","archive_url":"https://api.github.com/repos/elasticsales/flask-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elasticsales/flask-common/downloads","issues_url":"https://api.github.com/repos/elasticsales/flask-common/issues{/number}","pulls_url":"https://api.github.com/repos/elasticsales/flask-common/pulls{/number}","milestones_url":"https://api.github.com/repos/elasticsales/flask-common/milestones{/number}","notifications_url":"https://api.github.com/repos/elasticsales/flask-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elasticsales/flask-common/labels{/name}","releases_url":"https://api.github.com/repos/elasticsales/flask-common/releases{/id}","created_at":"2012-07-02T09:00:12Z","updated_at":"2014-11-17T23:16:17Z","pushed_at":"2015-01-15T07:59:41Z","git_url":"git://github.com/elasticsales/flask-common.git","ssh_url":"git@github.com:elasticsales/flask-common.git","clone_url":"https://github.com/elasticsales/flask-common.git","svn_url":"https://github.com/elasticsales/flask-common","homepage":"","size":783,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":7,"default_branch":"master"}},"base":{"label":"elasticsales:master","ref":"master","sha":"ca414a6474f6c01f01c6f0d012768e269597b50f","user":{"login":"elasticsales","id":437267,"avatar_url":"https://avatars.githubusercontent.com/u/437267?v=3","gravatar_id":"","url":"https://api.github.com/users/elasticsales","html_url":"https://github.com/elasticsales","followers_url":"https://api.github.com/users/elasticsales/followers","following_url":"https://api.github.com/users/elasticsales/following{/other_user}","gists_url":"https://api.github.com/users/elasticsales/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticsales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticsales/subscriptions","organizations_url":"https://api.github.com/users/elasticsales/orgs","repos_url":"https://api.github.com/users/elasticsales/repos","events_url":"https://api.github.com/users/elasticsales/events{/privacy}","received_events_url":"https://api.github.com/users/elasticsales/received_events","type":"Organization","site_admin":false},"repo":{"id":4857671,"name":"flask-common","full_name":"elasticsales/flask-common","owner":{"login":"elasticsales","id":437267,"avatar_url":"https://avatars.githubusercontent.com/u/437267?v=3","gravatar_id":"","url":"https://api.github.com/users/elasticsales","html_url":"https://github.com/elasticsales","followers_url":"https://api.github.com/users/elasticsales/followers","following_url":"https://api.github.com/users/elasticsales/following{/other_user}","gists_url":"https://api.github.com/users/elasticsales/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticsales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticsales/subscriptions","organizations_url":"https://api.github.com/users/elasticsales/orgs","repos_url":"https://api.github.com/users/elasticsales/repos","events_url":"https://api.github.com/users/elasticsales/events{/privacy}","received_events_url":"https://api.github.com/users/elasticsales/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elasticsales/flask-common","description":"Some commonly shared code for Flask, MongoEngine, and Python apps","fork":false,"url":"https://api.github.com/repos/elasticsales/flask-common","forks_url":"https://api.github.com/repos/elasticsales/flask-common/forks","keys_url":"https://api.github.com/repos/elasticsales/flask-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elasticsales/flask-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elasticsales/flask-common/teams","hooks_url":"https://api.github.com/repos/elasticsales/flask-common/hooks","issue_events_url":"https://api.github.com/repos/elasticsales/flask-common/issues/events{/number}","events_url":"https://api.github.com/repos/elasticsales/flask-common/events","assignees_url":"https://api.github.com/repos/elasticsales/flask-common/assignees{/user}","branches_url":"https://api.github.com/repos/elasticsales/flask-common/branches{/branch}","tags_url":"https://api.github.com/repos/elasticsales/flask-common/tags","blobs_url":"https://api.github.com/repos/elasticsales/flask-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elasticsales/flask-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elasticsales/flask-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/elasticsales/flask-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elasticsales/flask-common/statuses/{sha}","languages_url":"https://api.github.com/repos/elasticsales/flask-common/languages","stargazers_url":"https://api.github.com/repos/elasticsales/flask-common/stargazers","contributors_url":"https://api.github.com/repos/elasticsales/flask-common/contributors","subscribers_url":"https://api.github.com/repos/elasticsales/flask-common/subscribers","subscription_url":"https://api.github.com/repos/elasticsales/flask-common/subscription","commits_url":"https://api.github.com/repos/elasticsales/flask-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/elasticsales/flask-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/elasticsales/flask-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/elasticsales/flask-common/issues/comments/{number}","contents_url":"https://api.github.com/repos/elasticsales/flask-common/contents/{+path}","compare_url":"https://api.github.com/repos/elasticsales/flask-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elasticsales/flask-common/merges","archive_url":"https://api.github.com/repos/elasticsales/flask-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elasticsales/flask-common/downloads","issues_url":"https://api.github.com/repos/elasticsales/flask-common/issues{/number}","pulls_url":"https://api.github.com/repos/elasticsales/flask-common/pulls{/number}","milestones_url":"https://api.github.com/repos/elasticsales/flask-common/milestones{/number}","notifications_url":"https://api.github.com/repos/elasticsales/flask-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elasticsales/flask-common/labels{/name}","releases_url":"https://api.github.com/repos/elasticsales/flask-common/releases{/id}","created_at":"2012-07-02T09:00:12Z","updated_at":"2014-11-17T23:16:17Z","pushed_at":"2015-01-15T07:59:41Z","git_url":"git://github.com/elasticsales/flask-common.git","ssh_url":"git@github.com:elasticsales/flask-common.git","clone_url":"https://github.com/elasticsales/flask-common.git","svn_url":"https://github.com/elasticsales/flask-common","homepage":"","size":783,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elasticsales/flask-common/pulls/6"},"html":{"href":"https://github.com/elasticsales/flask-common/pull/6"},"issue":{"href":"https://api.github.com/repos/elasticsales/flask-common/issues/6"},"comments":{"href":"https://api.github.com/repos/elasticsales/flask-common/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/elasticsales/flask-common/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/elasticsales/flask-common/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/elasticsales/flask-common/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/elasticsales/flask-common/statuses/4a183f58605ee25739d11a5c78e600ad0cc2b342"}}}}