{"action":"closed","number":161,"pull_request":{"url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/pulls/161","id":43214214,"html_url":"https://github.com/MongoEngine/flask-mongoengine/pull/161","diff_url":"https://github.com/MongoEngine/flask-mongoengine/pull/161.diff","patch_url":"https://github.com/MongoEngine/flask-mongoengine/pull/161.patch","issue_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/161","number":161,"state":"closed","locked":false,"title":"- Using getattr with default value to set validators and filters.","user":{"login":"losintikfos","id":3749795,"avatar_url":"https://avatars.githubusercontent.com/u/3749795?v=3","gravatar_id":"","url":"https://api.github.com/users/losintikfos","html_url":"https://github.com/losintikfos","followers_url":"https://api.github.com/users/losintikfos/followers","following_url":"https://api.github.com/users/losintikfos/following{/other_user}","gists_url":"https://api.github.com/users/losintikfos/gists{/gist_id}","starred_url":"https://api.github.com/users/losintikfos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/losintikfos/subscriptions","organizations_url":"https://api.github.com/users/losintikfos/orgs","repos_url":"https://api.github.com/users/losintikfos/repos","events_url":"https://api.github.com/users/losintikfos/events{/privacy}","received_events_url":"https://api.github.com/users/losintikfos/received_events","type":"User","site_admin":false},"body":"- Using faster option of getattr with default value instead of checking to make sure it has the attribute.","created_at":"2015-08-24T19:51:51Z","updated_at":"2015-08-24T19:53:08Z","closed_at":"2015-08-24T19:53:08Z","merged_at":"2015-08-24T19:53:08Z","merge_commit_sha":"973d61a190a0c71dc3b79196d16c1d80c707e653","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/pulls/161/commits","review_comments_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/pulls/161/comments","review_comment_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/161/comments","statuses_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/statuses/f6feb97741863f3249a38a37d641c8a2e7d2821c","head":{"label":"losintikfos:master","ref":"master","sha":"f6feb97741863f3249a38a37d641c8a2e7d2821c","user":{"login":"losintikfos","id":3749795,"avatar_url":"https://avatars.githubusercontent.com/u/3749795?v=3","gravatar_id":"","url":"https://api.github.com/users/losintikfos","html_url":"https://github.com/losintikfos","followers_url":"https://api.github.com/users/losintikfos/followers","following_url":"https://api.github.com/users/losintikfos/following{/other_user}","gists_url":"https://api.github.com/users/losintikfos/gists{/gist_id}","starred_url":"https://api.github.com/users/losintikfos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/losintikfos/subscriptions","organizations_url":"https://api.github.com/users/losintikfos/orgs","repos_url":"https://api.github.com/users/losintikfos/repos","events_url":"https://api.github.com/users/losintikfos/events{/privacy}","received_events_url":"https://api.github.com/users/losintikfos/received_events","type":"User","site_admin":false},"repo":{"id":35807379,"name":"flask-mongoengine","full_name":"losintikfos/flask-mongoengine","owner":{"login":"losintikfos","id":3749795,"avatar_url":"https://avatars.githubusercontent.com/u/3749795?v=3","gravatar_id":"","url":"https://api.github.com/users/losintikfos","html_url":"https://github.com/losintikfos","followers_url":"https://api.github.com/users/losintikfos/followers","following_url":"https://api.github.com/users/losintikfos/following{/other_user}","gists_url":"https://api.github.com/users/losintikfos/gists{/gist_id}","starred_url":"https://api.github.com/users/losintikfos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/losintikfos/subscriptions","organizations_url":"https://api.github.com/users/losintikfos/orgs","repos_url":"https://api.github.com/users/losintikfos/repos","events_url":"https://api.github.com/users/losintikfos/events{/privacy}","received_events_url":"https://api.github.com/users/losintikfos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/losintikfos/flask-mongoengine","description":"MongoEngine flask extension with WTF model forms support","fork":true,"url":"https://api.github.com/repos/losintikfos/flask-mongoengine","forks_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/forks","keys_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/teams","hooks_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/hooks","issue_events_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/issues/events{/number}","events_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/events","assignees_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/assignees{/user}","branches_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/branches{/branch}","tags_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/tags","blobs_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/git/refs{/sha}","trees_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/statuses/{sha}","languages_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/languages","stargazers_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/stargazers","contributors_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/contributors","subscribers_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/subscribers","subscription_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/subscription","commits_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/commits{/sha}","git_commits_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/git/commits{/sha}","comments_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/comments{/number}","issue_comment_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/issues/comments{/number}","contents_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/contents/{+path}","compare_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/merges","archive_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/downloads","issues_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/issues{/number}","pulls_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/pulls{/number}","milestones_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/milestones{/number}","notifications_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/labels{/name}","releases_url":"https://api.github.com/repos/losintikfos/flask-mongoengine/releases{/id}","created_at":"2015-05-18T08:54:50Z","updated_at":"2015-05-18T08:54:50Z","pushed_at":"2015-08-24T19:46:41Z","git_url":"git://github.com/losintikfos/flask-mongoengine.git","ssh_url":"git@github.com:losintikfos/flask-mongoengine.git","clone_url":"https://github.com/losintikfos/flask-mongoengine.git","svn_url":"https://github.com/losintikfos/flask-mongoengine","homepage":"","size":460,"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":"MongoEngine:master","ref":"master","sha":"e1a4c0c264cbdc2b4e0cdf61b73b02c475224cdb","user":{"login":"MongoEngine","id":1502485,"avatar_url":"https://avatars.githubusercontent.com/u/1502485?v=3","gravatar_id":"","url":"https://api.github.com/users/MongoEngine","html_url":"https://github.com/MongoEngine","followers_url":"https://api.github.com/users/MongoEngine/followers","following_url":"https://api.github.com/users/MongoEngine/following{/other_user}","gists_url":"https://api.github.com/users/MongoEngine/gists{/gist_id}","starred_url":"https://api.github.com/users/MongoEngine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MongoEngine/subscriptions","organizations_url":"https://api.github.com/users/MongoEngine/orgs","repos_url":"https://api.github.com/users/MongoEngine/repos","events_url":"https://api.github.com/users/MongoEngine/events{/privacy}","received_events_url":"https://api.github.com/users/MongoEngine/received_events","type":"Organization","site_admin":false},"repo":{"id":4335022,"name":"flask-mongoengine","full_name":"MongoEngine/flask-mongoengine","owner":{"login":"MongoEngine","id":1502485,"avatar_url":"https://avatars.githubusercontent.com/u/1502485?v=3","gravatar_id":"","url":"https://api.github.com/users/MongoEngine","html_url":"https://github.com/MongoEngine","followers_url":"https://api.github.com/users/MongoEngine/followers","following_url":"https://api.github.com/users/MongoEngine/following{/other_user}","gists_url":"https://api.github.com/users/MongoEngine/gists{/gist_id}","starred_url":"https://api.github.com/users/MongoEngine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MongoEngine/subscriptions","organizations_url":"https://api.github.com/users/MongoEngine/orgs","repos_url":"https://api.github.com/users/MongoEngine/repos","events_url":"https://api.github.com/users/MongoEngine/events{/privacy}","received_events_url":"https://api.github.com/users/MongoEngine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MongoEngine/flask-mongoengine","description":"MongoEngine flask extension with WTF model forms support","fork":false,"url":"https://api.github.com/repos/MongoEngine/flask-mongoengine","forks_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/forks","keys_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/teams","hooks_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/hooks","issue_events_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/events{/number}","events_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/events","assignees_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/assignees{/user}","branches_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/branches{/branch}","tags_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/tags","blobs_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/git/refs{/sha}","trees_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/statuses/{sha}","languages_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/languages","stargazers_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/stargazers","contributors_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/contributors","subscribers_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/subscribers","subscription_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/subscription","commits_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/commits{/sha}","git_commits_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/git/commits{/sha}","comments_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/comments{/number}","issue_comment_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/comments{/number}","contents_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/contents/{+path}","compare_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/merges","archive_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/downloads","issues_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues{/number}","pulls_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/pulls{/number}","milestones_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/milestones{/number}","notifications_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/labels{/name}","releases_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/releases{/id}","created_at":"2012-05-15T11:33:26Z","updated_at":"2015-08-22T19:36:47Z","pushed_at":"2015-08-24T19:53:08Z","git_url":"git://github.com/MongoEngine/flask-mongoengine.git","ssh_url":"git@github.com:MongoEngine/flask-mongoengine.git","clone_url":"https://github.com/MongoEngine/flask-mongoengine.git","svn_url":"https://github.com/MongoEngine/flask-mongoengine","homepage":"","size":826,"stargazers_count":280,"watchers_count":280,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":119,"mirror_url":null,"open_issues_count":54,"forks":119,"open_issues":54,"watchers":280,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MongoEngine/flask-mongoengine/pulls/161"},"html":{"href":"https://github.com/MongoEngine/flask-mongoengine/pull/161"},"issue":{"href":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/161"},"comments":{"href":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/161/comments"},"review_comments":{"href":"https://api.github.com/repos/MongoEngine/flask-mongoengine/pulls/161/comments"},"review_comment":{"href":"https://api.github.com/repos/MongoEngine/flask-mongoengine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MongoEngine/flask-mongoengine/pulls/161/commits"},"statuses":{"href":"https://api.github.com/repos/MongoEngine/flask-mongoengine/statuses/f6feb97741863f3249a38a37d641c8a2e7d2821c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"losintikfos","id":3749795,"avatar_url":"https://avatars.githubusercontent.com/u/3749795?v=3","gravatar_id":"","url":"https://api.github.com/users/losintikfos","html_url":"https://github.com/losintikfos","followers_url":"https://api.github.com/users/losintikfos/followers","following_url":"https://api.github.com/users/losintikfos/following{/other_user}","gists_url":"https://api.github.com/users/losintikfos/gists{/gist_id}","starred_url":"https://api.github.com/users/losintikfos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/losintikfos/subscriptions","organizations_url":"https://api.github.com/users/losintikfos/orgs","repos_url":"https://api.github.com/users/losintikfos/repos","events_url":"https://api.github.com/users/losintikfos/events{/privacy}","received_events_url":"https://api.github.com/users/losintikfos/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":10,"changed_files":1}}