{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/justanr/marshmallow-annotations/pulls/22","id":227156759,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3MTU2NzU5","html_url":"https://github.com/justanr/marshmallow-annotations/pull/22","diff_url":"https://github.com/justanr/marshmallow-annotations/pull/22.diff","patch_url":"https://github.com/justanr/marshmallow-annotations/pull/22.patch","issue_url":"https://api.github.com/repos/justanr/marshmallow-annotations/issues/22","number":22,"state":"open","locked":false,"title":"Add Dataclass Support","user":{"login":"stevenjackson121","id":8807107,"node_id":"MDQ6VXNlcjg4MDcxMDc=","avatar_url":"https://avatars3.githubusercontent.com/u/8807107?v=4","gravatar_id":"","url":"https://api.github.com/users/stevenjackson121","html_url":"https://github.com/stevenjackson121","followers_url":"https://api.github.com/users/stevenjackson121/followers","following_url":"https://api.github.com/users/stevenjackson121/following{/other_user}","gists_url":"https://api.github.com/users/stevenjackson121/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenjackson121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenjackson121/subscriptions","organizations_url":"https://api.github.com/users/stevenjackson121/orgs","repos_url":"https://api.github.com/users/stevenjackson121/repos","events_url":"https://api.github.com/users/stevenjackson121/events{/privacy}","received_events_url":"https://api.github.com/users/stevenjackson121/received_events","type":"User","site_admin":false},"body":"Relies on metadata keyword documented here: https://docs.python.org/3/library/dataclasses.html#dataclasses.field to work around subtype information not being available from InitVars. \r\n\r\nIt's not pretty, but it's the least bad alternative I saw","created_at":"2018-10-31T04:34:31Z","updated_at":"2018-10-31T04:34:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/justanr/marshmallow-annotations/pulls/22/commits","review_comments_url":"https://api.github.com/repos/justanr/marshmallow-annotations/pulls/22/comments","review_comment_url":"https://api.github.com/repos/justanr/marshmallow-annotations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/justanr/marshmallow-annotations/issues/22/comments","statuses_url":"https://api.github.com/repos/justanr/marshmallow-annotations/statuses/310aa927e93b8005bf5cbbda8e87fae337ad4e80","head":{"label":"stevenjackson121:fb/dataclass-support","ref":"fb/dataclass-support","sha":"310aa927e93b8005bf5cbbda8e87fae337ad4e80","user":{"login":"stevenjackson121","id":8807107,"node_id":"MDQ6VXNlcjg4MDcxMDc=","avatar_url":"https://avatars3.githubusercontent.com/u/8807107?v=4","gravatar_id":"","url":"https://api.github.com/users/stevenjackson121","html_url":"https://github.com/stevenjackson121","followers_url":"https://api.github.com/users/stevenjackson121/followers","following_url":"https://api.github.com/users/stevenjackson121/following{/other_user}","gists_url":"https://api.github.com/users/stevenjackson121/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenjackson121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenjackson121/subscriptions","organizations_url":"https://api.github.com/users/stevenjackson121/orgs","repos_url":"https://api.github.com/users/stevenjackson121/repos","events_url":"https://api.github.com/users/stevenjackson121/events{/privacy}","received_events_url":"https://api.github.com/users/stevenjackson121/received_events","type":"User","site_admin":false},"repo":{"id":155498872,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU0OTg4NzI=","name":"marshmallow-annotations","full_name":"stevenjackson121/marshmallow-annotations","private":false,"owner":{"login":"stevenjackson121","id":8807107,"node_id":"MDQ6VXNlcjg4MDcxMDc=","avatar_url":"https://avatars3.githubusercontent.com/u/8807107?v=4","gravatar_id":"","url":"https://api.github.com/users/stevenjackson121","html_url":"https://github.com/stevenjackson121","followers_url":"https://api.github.com/users/stevenjackson121/followers","following_url":"https://api.github.com/users/stevenjackson121/following{/other_user}","gists_url":"https://api.github.com/users/stevenjackson121/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenjackson121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenjackson121/subscriptions","organizations_url":"https://api.github.com/users/stevenjackson121/orgs","repos_url":"https://api.github.com/users/stevenjackson121/repos","events_url":"https://api.github.com/users/stevenjackson121/events{/privacy}","received_events_url":"https://api.github.com/users/stevenjackson121/received_events","type":"User","site_admin":false},"html_url":"https://github.com/stevenjackson121/marshmallow-annotations","description":"Allows declaring marshmallow schema through type annotations","fork":true,"url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations","forks_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/forks","keys_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/teams","hooks_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/hooks","issue_events_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/issues/events{/number}","events_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/events","assignees_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/assignees{/user}","branches_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/branches{/branch}","tags_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/tags","blobs_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/statuses/{sha}","languages_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/languages","stargazers_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/stargazers","contributors_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/contributors","subscribers_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/subscribers","subscription_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/subscription","commits_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/contents/{+path}","compare_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/merges","archive_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/downloads","issues_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/issues{/number}","pulls_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/pulls{/number}","milestones_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/milestones{/number}","notifications_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/labels{/name}","releases_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/releases{/id}","deployments_url":"https://api.github.com/repos/stevenjackson121/marshmallow-annotations/deployments","created_at":"2018-10-31T04:28:57Z","updated_at":"2018-10-31T04:28:59Z","pushed_at":"2018-10-31T04:32:10Z","git_url":"git://github.com/stevenjackson121/marshmallow-annotations.git","ssh_url":"git@github.com:stevenjackson121/marshmallow-annotations.git","clone_url":"https://github.com/stevenjackson121/marshmallow-annotations.git","svn_url":"https://github.com/stevenjackson121/marshmallow-annotations","homepage":null,"size":75,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"justanr:fb/dataclass-support","ref":"fb/dataclass-support","sha":"1190abc130bf9040e5c61b16332c49fcc6c8ee97","user":{"login":"justanr","id":4221605,"node_id":"MDQ6VXNlcjQyMjE2MDU=","avatar_url":"https://avatars2.githubusercontent.com/u/4221605?v=4","gravatar_id":"","url":"https://api.github.com/users/justanr","html_url":"https://github.com/justanr","followers_url":"https://api.github.com/users/justanr/followers","following_url":"https://api.github.com/users/justanr/following{/other_user}","gists_url":"https://api.github.com/users/justanr/gists{/gist_id}","starred_url":"https://api.github.com/users/justanr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justanr/subscriptions","organizations_url":"https://api.github.com/users/justanr/orgs","repos_url":"https://api.github.com/users/justanr/repos","events_url":"https://api.github.com/users/justanr/events{/privacy}","received_events_url":"https://api.github.com/users/justanr/received_events","type":"User","site_admin":false},"repo":{"id":94656200,"node_id":"MDEwOlJlcG9zaXRvcnk5NDY1NjIwMA==","name":"marshmallow-annotations","full_name":"justanr/marshmallow-annotations","private":false,"owner":{"login":"justanr","id":4221605,"node_id":"MDQ6VXNlcjQyMjE2MDU=","avatar_url":"https://avatars2.githubusercontent.com/u/4221605?v=4","gravatar_id":"","url":"https://api.github.com/users/justanr","html_url":"https://github.com/justanr","followers_url":"https://api.github.com/users/justanr/followers","following_url":"https://api.github.com/users/justanr/following{/other_user}","gists_url":"https://api.github.com/users/justanr/gists{/gist_id}","starred_url":"https://api.github.com/users/justanr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justanr/subscriptions","organizations_url":"https://api.github.com/users/justanr/orgs","repos_url":"https://api.github.com/users/justanr/repos","events_url":"https://api.github.com/users/justanr/events{/privacy}","received_events_url":"https://api.github.com/users/justanr/received_events","type":"User","site_admin":false},"html_url":"https://github.com/justanr/marshmallow-annotations","description":"Allows declaring marshmallow schema through type annotations","fork":false,"url":"https://api.github.com/repos/justanr/marshmallow-annotations","forks_url":"https://api.github.com/repos/justanr/marshmallow-annotations/forks","keys_url":"https://api.github.com/repos/justanr/marshmallow-annotations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justanr/marshmallow-annotations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justanr/marshmallow-annotations/teams","hooks_url":"https://api.github.com/repos/justanr/marshmallow-annotations/hooks","issue_events_url":"https://api.github.com/repos/justanr/marshmallow-annotations/issues/events{/number}","events_url":"https://api.github.com/repos/justanr/marshmallow-annotations/events","assignees_url":"https://api.github.com/repos/justanr/marshmallow-annotations/assignees{/user}","branches_url":"https://api.github.com/repos/justanr/marshmallow-annotations/branches{/branch}","tags_url":"https://api.github.com/repos/justanr/marshmallow-annotations/tags","blobs_url":"https://api.github.com/repos/justanr/marshmallow-annotations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justanr/marshmallow-annotations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justanr/marshmallow-annotations/git/refs{/sha}","trees_url":"https://api.github.com/repos/justanr/marshmallow-annotations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justanr/marshmallow-annotations/statuses/{sha}","languages_url":"https://api.github.com/repos/justanr/marshmallow-annotations/languages","stargazers_url":"https://api.github.com/repos/justanr/marshmallow-annotations/stargazers","contributors_url":"https://api.github.com/repos/justanr/marshmallow-annotations/contributors","subscribers_url":"https://api.github.com/repos/justanr/marshmallow-annotations/subscribers","subscription_url":"https://api.github.com/repos/justanr/marshmallow-annotations/subscription","commits_url":"https://api.github.com/repos/justanr/marshmallow-annotations/commits{/sha}","git_commits_url":"https://api.github.com/repos/justanr/marshmallow-annotations/git/commits{/sha}","comments_url":"https://api.github.com/repos/justanr/marshmallow-annotations/comments{/number}","issue_comment_url":"https://api.github.com/repos/justanr/marshmallow-annotations/issues/comments{/number}","contents_url":"https://api.github.com/repos/justanr/marshmallow-annotations/contents/{+path}","compare_url":"https://api.github.com/repos/justanr/marshmallow-annotations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justanr/marshmallow-annotations/merges","archive_url":"https://api.github.com/repos/justanr/marshmallow-annotations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justanr/marshmallow-annotations/downloads","issues_url":"https://api.github.com/repos/justanr/marshmallow-annotations/issues{/number}","pulls_url":"https://api.github.com/repos/justanr/marshmallow-annotations/pulls{/number}","milestones_url":"https://api.github.com/repos/justanr/marshmallow-annotations/milestones{/number}","notifications_url":"https://api.github.com/repos/justanr/marshmallow-annotations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justanr/marshmallow-annotations/labels{/name}","releases_url":"https://api.github.com/repos/justanr/marshmallow-annotations/releases{/id}","deployments_url":"https://api.github.com/repos/justanr/marshmallow-annotations/deployments","created_at":"2017-06-18T00:21:08Z","updated_at":"2018-10-26T03:27:53Z","pushed_at":"2018-10-09T04:02:54Z","git_url":"git://github.com/justanr/marshmallow-annotations.git","ssh_url":"git@github.com:justanr/marshmallow-annotations.git","clone_url":"https://github.com/justanr/marshmallow-annotations.git","svn_url":"https://github.com/justanr/marshmallow-annotations","homepage":null,"size":75,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":6,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/justanr/marshmallow-annotations/pulls/22"},"html":{"href":"https://github.com/justanr/marshmallow-annotations/pull/22"},"issue":{"href":"https://api.github.com/repos/justanr/marshmallow-annotations/issues/22"},"comments":{"href":"https://api.github.com/repos/justanr/marshmallow-annotations/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/justanr/marshmallow-annotations/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/justanr/marshmallow-annotations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/justanr/marshmallow-annotations/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/justanr/marshmallow-annotations/statuses/310aa927e93b8005bf5cbbda8e87fae337ad4e80"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":118,"deletions":5,"changed_files":3}}
{"actor":{"display_login":"stevenjackson121"}}