{"action":"created","comment":{"url":"https://api.github.com/repos/keleshev/schema/pulls/comments/53199930","id":53199930,"diff_hunk":"@@ -257,6 +257,19 @@ for the same data:\n     >>> Schema(And(Or(int, float), lambda x: x > 0)).validate(3.1415)\n     3.1415\n \n+Extra Keys\n+~~~~~~~~~~\n+\n+The ``Schema(...)`` parameter ``ignore_extra_keys`` do not validate extra keys and also do not return them after validation.","path":"README.rst","position":7,"original_position":7,"commit_id":"2070fe0bd35034a2726e30532c772bb9bf2a955b","original_commit_id":"2070fe0bd35034a2726e30532c772bb9bf2a955b","user":{"login":"skorokithakis","id":23648,"avatar_url":"https://avatars.githubusercontent.com/u/23648?v=3","gravatar_id":"","url":"https://api.github.com/users/skorokithakis","html_url":"https://github.com/skorokithakis","followers_url":"https://api.github.com/users/skorokithakis/followers","following_url":"https://api.github.com/users/skorokithakis/following{/other_user}","gists_url":"https://api.github.com/users/skorokithakis/gists{/gist_id}","starred_url":"https://api.github.com/users/skorokithakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skorokithakis/subscriptions","organizations_url":"https://api.github.com/users/skorokithakis/orgs","repos_url":"https://api.github.com/users/skorokithakis/repos","events_url":"https://api.github.com/users/skorokithakis/events{/privacy}","received_events_url":"https://api.github.com/users/skorokithakis/received_events","type":"User","site_admin":false},"body":"\"Otherwise, extra keys will raise a ``SchemaError``.\"\r\n\r\nOther than that, perfect!","created_at":"2016-02-17T17:31:55Z","updated_at":"2016-02-17T17:31:55Z","html_url":"https://github.com/keleshev/schema/pull/101#discussion_r53199930","pull_request_url":"https://api.github.com/repos/keleshev/schema/pulls/101","_links":{"self":{"href":"https://api.github.com/repos/keleshev/schema/pulls/comments/53199930"},"html":{"href":"https://github.com/keleshev/schema/pull/101#discussion_r53199930"},"pull_request":{"href":"https://api.github.com/repos/keleshev/schema/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/keleshev/schema/pulls/101","id":59199286,"html_url":"https://github.com/keleshev/schema/pull/101","diff_url":"https://github.com/keleshev/schema/pull/101.diff","patch_url":"https://github.com/keleshev/schema/pull/101.patch","issue_url":"https://api.github.com/repos/keleshev/schema/issues/101","number":101,"state":"open","locked":false,"title":"add strict flag in Schema class to skip wrong key validation without wildcard","user":{"login":"drgarcia1986","id":5291018,"avatar_url":"https://avatars.githubusercontent.com/u/5291018?v=3","gravatar_id":"","url":"https://api.github.com/users/drgarcia1986","html_url":"https://github.com/drgarcia1986","followers_url":"https://api.github.com/users/drgarcia1986/followers","following_url":"https://api.github.com/users/drgarcia1986/following{/other_user}","gists_url":"https://api.github.com/users/drgarcia1986/gists{/gist_id}","starred_url":"https://api.github.com/users/drgarcia1986/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drgarcia1986/subscriptions","organizations_url":"https://api.github.com/users/drgarcia1986/orgs","repos_url":"https://api.github.com/users/drgarcia1986/repos","events_url":"https://api.github.com/users/drgarcia1986/events{/privacy}","received_events_url":"https://api.github.com/users/drgarcia1986/received_events","type":"User","site_admin":false},"body":"To avoid `SchemaError` for validations with more keys of the schema:\r\n\r\n```python\r\n>>> Schema({'key', 'value'}, strict=False).validate({'key', 'value', 'foo': 'bar})\r\n>>> {'key', 'value'}\r\n```","created_at":"2016-02-12T16:51:28Z","updated_at":"2016-02-17T17:31:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f06a14c86fa8c62147c23fd573039fe3d7f3946","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/keleshev/schema/pulls/101/commits","review_comments_url":"https://api.github.com/repos/keleshev/schema/pulls/101/comments","review_comment_url":"https://api.github.com/repos/keleshev/schema/pulls/comments{/number}","comments_url":"https://api.github.com/repos/keleshev/schema/issues/101/comments","statuses_url":"https://api.github.com/repos/keleshev/schema/statuses/2070fe0bd35034a2726e30532c772bb9bf2a955b","head":{"label":"drgarcia1986:master","ref":"master","sha":"2070fe0bd35034a2726e30532c772bb9bf2a955b","user":{"login":"drgarcia1986","id":5291018,"avatar_url":"https://avatars.githubusercontent.com/u/5291018?v=3","gravatar_id":"","url":"https://api.github.com/users/drgarcia1986","html_url":"https://github.com/drgarcia1986","followers_url":"https://api.github.com/users/drgarcia1986/followers","following_url":"https://api.github.com/users/drgarcia1986/following{/other_user}","gists_url":"https://api.github.com/users/drgarcia1986/gists{/gist_id}","starred_url":"https://api.github.com/users/drgarcia1986/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drgarcia1986/subscriptions","organizations_url":"https://api.github.com/users/drgarcia1986/orgs","repos_url":"https://api.github.com/users/drgarcia1986/repos","events_url":"https://api.github.com/users/drgarcia1986/events{/privacy}","received_events_url":"https://api.github.com/users/drgarcia1986/received_events","type":"User","site_admin":false},"repo":{"id":51600436,"name":"schema","full_name":"drgarcia1986/schema","owner":{"login":"drgarcia1986","id":5291018,"avatar_url":"https://avatars.githubusercontent.com/u/5291018?v=3","gravatar_id":"","url":"https://api.github.com/users/drgarcia1986","html_url":"https://github.com/drgarcia1986","followers_url":"https://api.github.com/users/drgarcia1986/followers","following_url":"https://api.github.com/users/drgarcia1986/following{/other_user}","gists_url":"https://api.github.com/users/drgarcia1986/gists{/gist_id}","starred_url":"https://api.github.com/users/drgarcia1986/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drgarcia1986/subscriptions","organizations_url":"https://api.github.com/users/drgarcia1986/orgs","repos_url":"https://api.github.com/users/drgarcia1986/repos","events_url":"https://api.github.com/users/drgarcia1986/events{/privacy}","received_events_url":"https://api.github.com/users/drgarcia1986/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/drgarcia1986/schema","description":"Schema validation just got Pythonic","fork":true,"url":"https://api.github.com/repos/drgarcia1986/schema","forks_url":"https://api.github.com/repos/drgarcia1986/schema/forks","keys_url":"https://api.github.com/repos/drgarcia1986/schema/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drgarcia1986/schema/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drgarcia1986/schema/teams","hooks_url":"https://api.github.com/repos/drgarcia1986/schema/hooks","issue_events_url":"https://api.github.com/repos/drgarcia1986/schema/issues/events{/number}","events_url":"https://api.github.com/repos/drgarcia1986/schema/events","assignees_url":"https://api.github.com/repos/drgarcia1986/schema/assignees{/user}","branches_url":"https://api.github.com/repos/drgarcia1986/schema/branches{/branch}","tags_url":"https://api.github.com/repos/drgarcia1986/schema/tags","blobs_url":"https://api.github.com/repos/drgarcia1986/schema/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drgarcia1986/schema/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drgarcia1986/schema/git/refs{/sha}","trees_url":"https://api.github.com/repos/drgarcia1986/schema/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drgarcia1986/schema/statuses/{sha}","languages_url":"https://api.github.com/repos/drgarcia1986/schema/languages","stargazers_url":"https://api.github.com/repos/drgarcia1986/schema/stargazers","contributors_url":"https://api.github.com/repos/drgarcia1986/schema/contributors","subscribers_url":"https://api.github.com/repos/drgarcia1986/schema/subscribers","subscription_url":"https://api.github.com/repos/drgarcia1986/schema/subscription","commits_url":"https://api.github.com/repos/drgarcia1986/schema/commits{/sha}","git_commits_url":"https://api.github.com/repos/drgarcia1986/schema/git/commits{/sha}","comments_url":"https://api.github.com/repos/drgarcia1986/schema/comments{/number}","issue_comment_url":"https://api.github.com/repos/drgarcia1986/schema/issues/comments{/number}","contents_url":"https://api.github.com/repos/drgarcia1986/schema/contents/{+path}","compare_url":"https://api.github.com/repos/drgarcia1986/schema/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drgarcia1986/schema/merges","archive_url":"https://api.github.com/repos/drgarcia1986/schema/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drgarcia1986/schema/downloads","issues_url":"https://api.github.com/repos/drgarcia1986/schema/issues{/number}","pulls_url":"https://api.github.com/repos/drgarcia1986/schema/pulls{/number}","milestones_url":"https://api.github.com/repos/drgarcia1986/schema/milestones{/number}","notifications_url":"https://api.github.com/repos/drgarcia1986/schema/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drgarcia1986/schema/labels{/name}","releases_url":"https://api.github.com/repos/drgarcia1986/schema/releases{/id}","deployments_url":"https://api.github.com/repos/drgarcia1986/schema/deployments","created_at":"2016-02-12T16:23:02Z","updated_at":"2016-02-12T16:23:03Z","pushed_at":"2016-02-16T19:31:39Z","git_url":"git://github.com/drgarcia1986/schema.git","ssh_url":"git@github.com:drgarcia1986/schema.git","clone_url":"https://github.com/drgarcia1986/schema.git","svn_url":"https://github.com/drgarcia1986/schema","homepage":"","size":129,"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":"keleshev:master","ref":"master","sha":"695b793675eb66c99e0dac91cdbbc27dde27c491","user":{"login":"keleshev","id":619158,"avatar_url":"https://avatars.githubusercontent.com/u/619158?v=3","gravatar_id":"","url":"https://api.github.com/users/keleshev","html_url":"https://github.com/keleshev","followers_url":"https://api.github.com/users/keleshev/followers","following_url":"https://api.github.com/users/keleshev/following{/other_user}","gists_url":"https://api.github.com/users/keleshev/gists{/gist_id}","starred_url":"https://api.github.com/users/keleshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keleshev/subscriptions","organizations_url":"https://api.github.com/users/keleshev/orgs","repos_url":"https://api.github.com/users/keleshev/repos","events_url":"https://api.github.com/users/keleshev/events{/privacy}","received_events_url":"https://api.github.com/users/keleshev/received_events","type":"User","site_admin":false},"repo":{"id":5473383,"name":"schema","full_name":"keleshev/schema","owner":{"login":"keleshev","id":619158,"avatar_url":"https://avatars.githubusercontent.com/u/619158?v=3","gravatar_id":"","url":"https://api.github.com/users/keleshev","html_url":"https://github.com/keleshev","followers_url":"https://api.github.com/users/keleshev/followers","following_url":"https://api.github.com/users/keleshev/following{/other_user}","gists_url":"https://api.github.com/users/keleshev/gists{/gist_id}","starred_url":"https://api.github.com/users/keleshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keleshev/subscriptions","organizations_url":"https://api.github.com/users/keleshev/orgs","repos_url":"https://api.github.com/users/keleshev/repos","events_url":"https://api.github.com/users/keleshev/events{/privacy}","received_events_url":"https://api.github.com/users/keleshev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/keleshev/schema","description":"Schema validation just got Pythonic","fork":false,"url":"https://api.github.com/repos/keleshev/schema","forks_url":"https://api.github.com/repos/keleshev/schema/forks","keys_url":"https://api.github.com/repos/keleshev/schema/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keleshev/schema/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keleshev/schema/teams","hooks_url":"https://api.github.com/repos/keleshev/schema/hooks","issue_events_url":"https://api.github.com/repos/keleshev/schema/issues/events{/number}","events_url":"https://api.github.com/repos/keleshev/schema/events","assignees_url":"https://api.github.com/repos/keleshev/schema/assignees{/user}","branches_url":"https://api.github.com/repos/keleshev/schema/branches{/branch}","tags_url":"https://api.github.com/repos/keleshev/schema/tags","blobs_url":"https://api.github.com/repos/keleshev/schema/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keleshev/schema/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keleshev/schema/git/refs{/sha}","trees_url":"https://api.github.com/repos/keleshev/schema/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keleshev/schema/statuses/{sha}","languages_url":"https://api.github.com/repos/keleshev/schema/languages","stargazers_url":"https://api.github.com/repos/keleshev/schema/stargazers","contributors_url":"https://api.github.com/repos/keleshev/schema/contributors","subscribers_url":"https://api.github.com/repos/keleshev/schema/subscribers","subscription_url":"https://api.github.com/repos/keleshev/schema/subscription","commits_url":"https://api.github.com/repos/keleshev/schema/commits{/sha}","git_commits_url":"https://api.github.com/repos/keleshev/schema/git/commits{/sha}","comments_url":"https://api.github.com/repos/keleshev/schema/comments{/number}","issue_comment_url":"https://api.github.com/repos/keleshev/schema/issues/comments{/number}","contents_url":"https://api.github.com/repos/keleshev/schema/contents/{+path}","compare_url":"https://api.github.com/repos/keleshev/schema/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keleshev/schema/merges","archive_url":"https://api.github.com/repos/keleshev/schema/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keleshev/schema/downloads","issues_url":"https://api.github.com/repos/keleshev/schema/issues{/number}","pulls_url":"https://api.github.com/repos/keleshev/schema/pulls{/number}","milestones_url":"https://api.github.com/repos/keleshev/schema/milestones{/number}","notifications_url":"https://api.github.com/repos/keleshev/schema/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keleshev/schema/labels{/name}","releases_url":"https://api.github.com/repos/keleshev/schema/releases{/id}","deployments_url":"https://api.github.com/repos/keleshev/schema/deployments","created_at":"2012-08-19T18:56:20Z","updated_at":"2016-02-17T12:23:36Z","pushed_at":"2016-02-16T19:31:40Z","git_url":"git://github.com/keleshev/schema.git","ssh_url":"git@github.com:keleshev/schema.git","clone_url":"https://github.com/keleshev/schema.git","svn_url":"https://github.com/keleshev/schema","homepage":"","size":168,"stargazers_count":803,"watchers_count":803,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":69,"mirror_url":null,"open_issues_count":27,"forks":69,"open_issues":27,"watchers":803,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keleshev/schema/pulls/101"},"html":{"href":"https://github.com/keleshev/schema/pull/101"},"issue":{"href":"https://api.github.com/repos/keleshev/schema/issues/101"},"comments":{"href":"https://api.github.com/repos/keleshev/schema/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/keleshev/schema/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/keleshev/schema/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/keleshev/schema/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/keleshev/schema/statuses/2070fe0bd35034a2726e30532c772bb9bf2a955b"}}}}