{"action":"created","comment":{"url":"https://api.github.com/repos/alecthomas/voluptuous/pulls/comments/82570167","pull_request_review_id":3467881,"id":82570167,"diff_hunk":"@@ -544,6 +544,19 @@ def fn(arg):\n     fn(1)\n \n \n+def test_schema_decorator_no_args():\n+    @validate(int, __return__=Maybe(int))","path":"voluptuous/tests/tests.py","position":14,"original_position":14,"commit_id":"ca06496bd6223030468137e4abe2c720a1a31905","original_commit_id":"ca06496bd6223030468137e4abe2c720a1a31905","user":{"login":"tusharmakkar08","id":2357025,"avatar_url":"https://avatars.githubusercontent.com/u/2357025?v=3","gravatar_id":"","url":"https://api.github.com/users/tusharmakkar08","html_url":"https://github.com/tusharmakkar08","followers_url":"https://api.github.com/users/tusharmakkar08/followers","following_url":"https://api.github.com/users/tusharmakkar08/following{/other_user}","gists_url":"https://api.github.com/users/tusharmakkar08/gists{/gist_id}","starred_url":"https://api.github.com/users/tusharmakkar08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tusharmakkar08/subscriptions","organizations_url":"https://api.github.com/users/tusharmakkar08/orgs","repos_url":"https://api.github.com/users/tusharmakkar08/repos","events_url":"https://api.github.com/users/tusharmakkar08/events{/privacy}","received_events_url":"https://api.github.com/users/tusharmakkar08/received_events","type":"User","site_admin":false},"body":"Can you add test case for Invalid input as well? ","created_at":"2016-10-10T09:28:55Z","updated_at":"2016-10-10T09:37:44Z","html_url":"https://github.com/alecthomas/voluptuous/pull/232#discussion_r82570167","pull_request_url":"https://api.github.com/repos/alecthomas/voluptuous/pulls/232","_links":{"self":{"href":"https://api.github.com/repos/alecthomas/voluptuous/pulls/comments/82570167"},"html":{"href":"https://github.com/alecthomas/voluptuous/pull/232#discussion_r82570167"},"pull_request":{"href":"https://api.github.com/repos/alecthomas/voluptuous/pulls/232"}}},"pull_request":{"url":"https://api.github.com/repos/alecthomas/voluptuous/pulls/232","id":88631912,"html_url":"https://github.com/alecthomas/voluptuous/pull/232","diff_url":"https://github.com/alecthomas/voluptuous/pull/232.diff","patch_url":"https://github.com/alecthomas/voluptuous/pull/232.patch","issue_url":"https://api.github.com/repos/alecthomas/voluptuous/issues/232","number":232,"state":"open","locked":false,"title":"Add a Maybe validator","user":{"login":"AndreaCrotti","id":53640,"avatar_url":"https://avatars.githubusercontent.com/u/53640?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreaCrotti","html_url":"https://github.com/AndreaCrotti","followers_url":"https://api.github.com/users/AndreaCrotti/followers","following_url":"https://api.github.com/users/AndreaCrotti/following{/other_user}","gists_url":"https://api.github.com/users/AndreaCrotti/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreaCrotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreaCrotti/subscriptions","organizations_url":"https://api.github.com/users/AndreaCrotti/orgs","repos_url":"https://api.github.com/users/AndreaCrotti/repos","events_url":"https://api.github.com/users/AndreaCrotti/events{/privacy}","received_events_url":"https://api.github.com/users/AndreaCrotti/received_events","type":"User","site_admin":false},"body":"Simple Maybe validator, which encapsulates the fact that something can be None or of the given type","created_at":"2016-10-10T09:23:55Z","updated_at":"2016-10-10T09:37:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e3549af4f2e2114b970f20658c5871c2a2916b3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alecthomas/voluptuous/pulls/232/commits","review_comments_url":"https://api.github.com/repos/alecthomas/voluptuous/pulls/232/comments","review_comment_url":"https://api.github.com/repos/alecthomas/voluptuous/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alecthomas/voluptuous/issues/232/comments","statuses_url":"https://api.github.com/repos/alecthomas/voluptuous/statuses/ca06496bd6223030468137e4abe2c720a1a31905","head":{"label":"AndreaCrotti:add_maybe_constructor","ref":"add_maybe_constructor","sha":"ca06496bd6223030468137e4abe2c720a1a31905","user":{"login":"AndreaCrotti","id":53640,"avatar_url":"https://avatars.githubusercontent.com/u/53640?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreaCrotti","html_url":"https://github.com/AndreaCrotti","followers_url":"https://api.github.com/users/AndreaCrotti/followers","following_url":"https://api.github.com/users/AndreaCrotti/following{/other_user}","gists_url":"https://api.github.com/users/AndreaCrotti/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreaCrotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreaCrotti/subscriptions","organizations_url":"https://api.github.com/users/AndreaCrotti/orgs","repos_url":"https://api.github.com/users/AndreaCrotti/repos","events_url":"https://api.github.com/users/AndreaCrotti/events{/privacy}","received_events_url":"https://api.github.com/users/AndreaCrotti/received_events","type":"User","site_admin":false},"repo":{"id":68926394,"name":"voluptuous","full_name":"AndreaCrotti/voluptuous","owner":{"login":"AndreaCrotti","id":53640,"avatar_url":"https://avatars.githubusercontent.com/u/53640?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreaCrotti","html_url":"https://github.com/AndreaCrotti","followers_url":"https://api.github.com/users/AndreaCrotti/followers","following_url":"https://api.github.com/users/AndreaCrotti/following{/other_user}","gists_url":"https://api.github.com/users/AndreaCrotti/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreaCrotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreaCrotti/subscriptions","organizations_url":"https://api.github.com/users/AndreaCrotti/orgs","repos_url":"https://api.github.com/users/AndreaCrotti/repos","events_url":"https://api.github.com/users/AndreaCrotti/events{/privacy}","received_events_url":"https://api.github.com/users/AndreaCrotti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndreaCrotti/voluptuous","description":"Voluptuous, despite the name, is a Python data validation library.","fork":true,"url":"https://api.github.com/repos/AndreaCrotti/voluptuous","forks_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/forks","keys_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/teams","hooks_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/hooks","issue_events_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/issues/events{/number}","events_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/events","assignees_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/assignees{/user}","branches_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/branches{/branch}","tags_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/tags","blobs_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/statuses/{sha}","languages_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/languages","stargazers_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/stargazers","contributors_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/contributors","subscribers_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/subscribers","subscription_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/subscription","commits_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/contents/{+path}","compare_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/merges","archive_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/downloads","issues_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/issues{/number}","pulls_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/pulls{/number}","milestones_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/milestones{/number}","notifications_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/labels{/name}","releases_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/releases{/id}","deployments_url":"https://api.github.com/repos/AndreaCrotti/voluptuous/deployments","created_at":"2016-09-22T13:55:47Z","updated_at":"2016-09-22T13:55:48Z","pushed_at":"2016-10-10T09:22:08Z","git_url":"git://github.com/AndreaCrotti/voluptuous.git","ssh_url":"git@github.com:AndreaCrotti/voluptuous.git","clone_url":"https://github.com/AndreaCrotti/voluptuous.git","svn_url":"https://github.com/AndreaCrotti/voluptuous","homepage":"http://pypi.python.org/pypi/voluptuous","size":908,"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":"alecthomas:master","ref":"master","sha":"0c5a2927cc754eb7e30fd970564dc6120467d5e8","user":{"login":"alecthomas","id":41767,"avatar_url":"https://avatars.githubusercontent.com/u/41767?v=3","gravatar_id":"","url":"https://api.github.com/users/alecthomas","html_url":"https://github.com/alecthomas","followers_url":"https://api.github.com/users/alecthomas/followers","following_url":"https://api.github.com/users/alecthomas/following{/other_user}","gists_url":"https://api.github.com/users/alecthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/alecthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecthomas/subscriptions","organizations_url":"https://api.github.com/users/alecthomas/orgs","repos_url":"https://api.github.com/users/alecthomas/repos","events_url":"https://api.github.com/users/alecthomas/events{/privacy}","received_events_url":"https://api.github.com/users/alecthomas/received_events","type":"User","site_admin":false},"repo":{"id":776374,"name":"voluptuous","full_name":"alecthomas/voluptuous","owner":{"login":"alecthomas","id":41767,"avatar_url":"https://avatars.githubusercontent.com/u/41767?v=3","gravatar_id":"","url":"https://api.github.com/users/alecthomas","html_url":"https://github.com/alecthomas","followers_url":"https://api.github.com/users/alecthomas/followers","following_url":"https://api.github.com/users/alecthomas/following{/other_user}","gists_url":"https://api.github.com/users/alecthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/alecthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecthomas/subscriptions","organizations_url":"https://api.github.com/users/alecthomas/orgs","repos_url":"https://api.github.com/users/alecthomas/repos","events_url":"https://api.github.com/users/alecthomas/events{/privacy}","received_events_url":"https://api.github.com/users/alecthomas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alecthomas/voluptuous","description":"Voluptuous, despite the name, is a Python data validation library.","fork":false,"url":"https://api.github.com/repos/alecthomas/voluptuous","forks_url":"https://api.github.com/repos/alecthomas/voluptuous/forks","keys_url":"https://api.github.com/repos/alecthomas/voluptuous/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alecthomas/voluptuous/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alecthomas/voluptuous/teams","hooks_url":"https://api.github.com/repos/alecthomas/voluptuous/hooks","issue_events_url":"https://api.github.com/repos/alecthomas/voluptuous/issues/events{/number}","events_url":"https://api.github.com/repos/alecthomas/voluptuous/events","assignees_url":"https://api.github.com/repos/alecthomas/voluptuous/assignees{/user}","branches_url":"https://api.github.com/repos/alecthomas/voluptuous/branches{/branch}","tags_url":"https://api.github.com/repos/alecthomas/voluptuous/tags","blobs_url":"https://api.github.com/repos/alecthomas/voluptuous/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alecthomas/voluptuous/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alecthomas/voluptuous/git/refs{/sha}","trees_url":"https://api.github.com/repos/alecthomas/voluptuous/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alecthomas/voluptuous/statuses/{sha}","languages_url":"https://api.github.com/repos/alecthomas/voluptuous/languages","stargazers_url":"https://api.github.com/repos/alecthomas/voluptuous/stargazers","contributors_url":"https://api.github.com/repos/alecthomas/voluptuous/contributors","subscribers_url":"https://api.github.com/repos/alecthomas/voluptuous/subscribers","subscription_url":"https://api.github.com/repos/alecthomas/voluptuous/subscription","commits_url":"https://api.github.com/repos/alecthomas/voluptuous/commits{/sha}","git_commits_url":"https://api.github.com/repos/alecthomas/voluptuous/git/commits{/sha}","comments_url":"https://api.github.com/repos/alecthomas/voluptuous/comments{/number}","issue_comment_url":"https://api.github.com/repos/alecthomas/voluptuous/issues/comments{/number}","contents_url":"https://api.github.com/repos/alecthomas/voluptuous/contents/{+path}","compare_url":"https://api.github.com/repos/alecthomas/voluptuous/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alecthomas/voluptuous/merges","archive_url":"https://api.github.com/repos/alecthomas/voluptuous/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alecthomas/voluptuous/downloads","issues_url":"https://api.github.com/repos/alecthomas/voluptuous/issues{/number}","pulls_url":"https://api.github.com/repos/alecthomas/voluptuous/pulls{/number}","milestones_url":"https://api.github.com/repos/alecthomas/voluptuous/milestones{/number}","notifications_url":"https://api.github.com/repos/alecthomas/voluptuous/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alecthomas/voluptuous/labels{/name}","releases_url":"https://api.github.com/repos/alecthomas/voluptuous/releases{/id}","deployments_url":"https://api.github.com/repos/alecthomas/voluptuous/deployments","created_at":"2010-07-15T09:55:10Z","updated_at":"2016-10-10T05:39:26Z","pushed_at":"2016-10-10T09:23:55Z","git_url":"git://github.com/alecthomas/voluptuous.git","ssh_url":"git@github.com:alecthomas/voluptuous.git","clone_url":"https://github.com/alecthomas/voluptuous.git","svn_url":"https://github.com/alecthomas/voluptuous","homepage":"http://pypi.python.org/pypi/voluptuous","size":1024,"stargazers_count":674,"watchers_count":674,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":105,"mirror_url":null,"open_issues_count":18,"forks":105,"open_issues":18,"watchers":674,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alecthomas/voluptuous/pulls/232"},"html":{"href":"https://github.com/alecthomas/voluptuous/pull/232"},"issue":{"href":"https://api.github.com/repos/alecthomas/voluptuous/issues/232"},"comments":{"href":"https://api.github.com/repos/alecthomas/voluptuous/issues/232/comments"},"review_comments":{"href":"https://api.github.com/repos/alecthomas/voluptuous/pulls/232/comments"},"review_comment":{"href":"https://api.github.com/repos/alecthomas/voluptuous/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alecthomas/voluptuous/pulls/232/commits"},"statuses":{"href":"https://api.github.com/repos/alecthomas/voluptuous/statuses/ca06496bd6223030468137e4abe2c720a1a31905"}}}}
{"actor":{"display_login":"tusharmakkar08"}}