{"action":"created","comment":{"url":"https://api.github.com/repos/apache/beam/pulls/comments/279321065","pull_request_review_id":231620163,"id":279321065,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI3OTMyMTA2NQ==","diff_hunk":"@@ -293,8 +293,15 @@ new DoFn<KV<MyKey, MyValue>, KV<Integer, KV<MyKey, MyValue>>>() {\n ```\n \n ```py\n-# State and timers are not yet supported in Beam's Python SDK.\n-# Watch this space!\n+class IndexAssigningStatefulDoFn(DoFn):\n+  INDEX_STATE = BagStateSpec('index', VarIntCoder())","path":"website/src/_posts/2017-02-13-stateful-processing.md","position":16,"original_position":16,"commit_id":"591e5d185d3229670cfae8521cbd5d93a87f51ef","original_commit_id":"591e5d185d3229670cfae8521cbd5d93a87f51ef","user":{"login":"robertwb","id":486017,"node_id":"MDQ6VXNlcjQ4NjAxNw==","avatar_url":"https://avatars3.githubusercontent.com/u/486017?v=4","gravatar_id":"","url":"https://api.github.com/users/robertwb","html_url":"https://github.com/robertwb","followers_url":"https://api.github.com/users/robertwb/followers","following_url":"https://api.github.com/users/robertwb/following{/other_user}","gists_url":"https://api.github.com/users/robertwb/gists{/gist_id}","starred_url":"https://api.github.com/users/robertwb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertwb/subscriptions","organizations_url":"https://api.github.com/users/robertwb/orgs","repos_url":"https://api.github.com/users/robertwb/repos","events_url":"https://api.github.com/users/robertwb/events{/privacy}","received_events_url":"https://api.github.com/users/robertwb/received_events","type":"User","site_admin":false},"body":"As per the discussion, please update this to use CombiningState. (Possibly elsewhere as well.)","created_at":"2019-04-29T11:12:09Z","updated_at":"2019-04-29T11:12:09Z","html_url":"https://github.com/apache/beam/pull/8363#discussion_r279321065","pull_request_url":"https://api.github.com/repos/apache/beam/pulls/8363","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/beam/pulls/comments/279321065"},"html":{"href":"https://github.com/apache/beam/pull/8363#discussion_r279321065"},"pull_request":{"href":"https://api.github.com/repos/apache/beam/pulls/8363"}}},"pull_request":{"url":"https://api.github.com/repos/apache/beam/pulls/8363","id":272079906,"node_id":"MDExOlB1bGxSZXF1ZXN0MjcyMDc5OTA2","html_url":"https://github.com/apache/beam/pull/8363","diff_url":"https://github.com/apache/beam/pull/8363.diff","patch_url":"https://github.com/apache/beam/pull/8363.patch","issue_url":"https://api.github.com/repos/apache/beam/issues/8363","number":8363,"state":"open","locked":false,"title":"Adding Python samples to the Stateful Processing post.","user":{"login":"pabloem","id":1301740,"node_id":"MDQ6VXNlcjEzMDE3NDA=","avatar_url":"https://avatars2.githubusercontent.com/u/1301740?v=4","gravatar_id":"","url":"https://api.github.com/users/pabloem","html_url":"https://github.com/pabloem","followers_url":"https://api.github.com/users/pabloem/followers","following_url":"https://api.github.com/users/pabloem/following{/other_user}","gists_url":"https://api.github.com/users/pabloem/gists{/gist_id}","starred_url":"https://api.github.com/users/pabloem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabloem/subscriptions","organizations_url":"https://api.github.com/users/pabloem/orgs","repos_url":"https://api.github.com/users/pabloem/repos","events_url":"https://api.github.com/users/pabloem/events{/privacy}","received_events_url":"https://api.github.com/users/pabloem/received_events","type":"User","site_admin":false},"body":"Also add a couple more pydocs to python transforms.\r\n\r\nr: @kennknowles \r\ncc: @mxm \r\n","created_at":"2019-04-19T19:55:34Z","updated_at":"2019-04-29T11:12:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ffee16fe4e64a98ec1f6a1cb98487955b2547739","assignee":null,"assignees":[],"requested_reviewers":[{"login":"kennknowles","id":575353,"node_id":"MDQ6VXNlcjU3NTM1Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/575353?v=4","gravatar_id":"","url":"https://api.github.com/users/kennknowles","html_url":"https://github.com/kennknowles","followers_url":"https://api.github.com/users/kennknowles/followers","following_url":"https://api.github.com/users/kennknowles/following{/other_user}","gists_url":"https://api.github.com/users/kennknowles/gists{/gist_id}","starred_url":"https://api.github.com/users/kennknowles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennknowles/subscriptions","organizations_url":"https://api.github.com/users/kennknowles/orgs","repos_url":"https://api.github.com/users/kennknowles/repos","events_url":"https://api.github.com/users/kennknowles/events{/privacy}","received_events_url":"https://api.github.com/users/kennknowles/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/beam/pulls/8363/commits","review_comments_url":"https://api.github.com/repos/apache/beam/pulls/8363/comments","review_comment_url":"https://api.github.com/repos/apache/beam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/beam/issues/8363/comments","statuses_url":"https://api.github.com/repos/apache/beam/statuses/591e5d185d3229670cfae8521cbd5d93a87f51ef","head":{"label":"pabloem:stateful-post","ref":"stateful-post","sha":"591e5d185d3229670cfae8521cbd5d93a87f51ef","user":{"login":"pabloem","id":1301740,"node_id":"MDQ6VXNlcjEzMDE3NDA=","avatar_url":"https://avatars2.githubusercontent.com/u/1301740?v=4","gravatar_id":"","url":"https://api.github.com/users/pabloem","html_url":"https://github.com/pabloem","followers_url":"https://api.github.com/users/pabloem/followers","following_url":"https://api.github.com/users/pabloem/following{/other_user}","gists_url":"https://api.github.com/users/pabloem/gists{/gist_id}","starred_url":"https://api.github.com/users/pabloem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabloem/subscriptions","organizations_url":"https://api.github.com/users/pabloem/orgs","repos_url":"https://api.github.com/users/pabloem/repos","events_url":"https://api.github.com/users/pabloem/events{/privacy}","received_events_url":"https://api.github.com/users/pabloem/received_events","type":"User","site_admin":false},"repo":{"id":69611732,"node_id":"MDEwOlJlcG9zaXRvcnk2OTYxMTczMg==","name":"beam","full_name":"pabloem/beam","private":false,"owner":{"login":"pabloem","id":1301740,"node_id":"MDQ6VXNlcjEzMDE3NDA=","avatar_url":"https://avatars2.githubusercontent.com/u/1301740?v=4","gravatar_id":"","url":"https://api.github.com/users/pabloem","html_url":"https://github.com/pabloem","followers_url":"https://api.github.com/users/pabloem/followers","following_url":"https://api.github.com/users/pabloem/following{/other_user}","gists_url":"https://api.github.com/users/pabloem/gists{/gist_id}","starred_url":"https://api.github.com/users/pabloem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabloem/subscriptions","organizations_url":"https://api.github.com/users/pabloem/orgs","repos_url":"https://api.github.com/users/pabloem/repos","events_url":"https://api.github.com/users/pabloem/events{/privacy}","received_events_url":"https://api.github.com/users/pabloem/received_events","type":"User","site_admin":false},"html_url":"https://github.com/pabloem/beam","description":"Mirror of Apache Beam","fork":true,"url":"https://api.github.com/repos/pabloem/beam","forks_url":"https://api.github.com/repos/pabloem/beam/forks","keys_url":"https://api.github.com/repos/pabloem/beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pabloem/beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pabloem/beam/teams","hooks_url":"https://api.github.com/repos/pabloem/beam/hooks","issue_events_url":"https://api.github.com/repos/pabloem/beam/issues/events{/number}","events_url":"https://api.github.com/repos/pabloem/beam/events","assignees_url":"https://api.github.com/repos/pabloem/beam/assignees{/user}","branches_url":"https://api.github.com/repos/pabloem/beam/branches{/branch}","tags_url":"https://api.github.com/repos/pabloem/beam/tags","blobs_url":"https://api.github.com/repos/pabloem/beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pabloem/beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pabloem/beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/pabloem/beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pabloem/beam/statuses/{sha}","languages_url":"https://api.github.com/repos/pabloem/beam/languages","stargazers_url":"https://api.github.com/repos/pabloem/beam/stargazers","contributors_url":"https://api.github.com/repos/pabloem/beam/contributors","subscribers_url":"https://api.github.com/repos/pabloem/beam/subscribers","subscription_url":"https://api.github.com/repos/pabloem/beam/subscription","commits_url":"https://api.github.com/repos/pabloem/beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/pabloem/beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/pabloem/beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/pabloem/beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/pabloem/beam/contents/{+path}","compare_url":"https://api.github.com/repos/pabloem/beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pabloem/beam/merges","archive_url":"https://api.github.com/repos/pabloem/beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pabloem/beam/downloads","issues_url":"https://api.github.com/repos/pabloem/beam/issues{/number}","pulls_url":"https://api.github.com/repos/pabloem/beam/pulls{/number}","milestones_url":"https://api.github.com/repos/pabloem/beam/milestones{/number}","notifications_url":"https://api.github.com/repos/pabloem/beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pabloem/beam/labels{/name}","releases_url":"https://api.github.com/repos/pabloem/beam/releases{/id}","deployments_url":"https://api.github.com/repos/pabloem/beam/deployments","created_at":"2016-09-29T22:05:49Z","updated_at":"2019-03-06T23:58:15Z","pushed_at":"2019-04-26T20:30:32Z","git_url":"git://github.com/pabloem/beam.git","ssh_url":"git@github.com:pabloem/beam.git","clone_url":"https://github.com/pabloem/beam.git","svn_url":"https://github.com/pabloem/beam","homepage":"","size":119862,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"d368c9d219345d3d73b209a46cd2f669c8916d12","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":50904245,"node_id":"MDEwOlJlcG9zaXRvcnk1MDkwNDI0NQ==","name":"beam","full_name":"apache/beam","private":false,"owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apache/beam","description":"Apache Beam","fork":false,"url":"https://api.github.com/repos/apache/beam","forks_url":"https://api.github.com/repos/apache/beam/forks","keys_url":"https://api.github.com/repos/apache/beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/beam/teams","hooks_url":"https://api.github.com/repos/apache/beam/hooks","issue_events_url":"https://api.github.com/repos/apache/beam/issues/events{/number}","events_url":"https://api.github.com/repos/apache/beam/events","assignees_url":"https://api.github.com/repos/apache/beam/assignees{/user}","branches_url":"https://api.github.com/repos/apache/beam/branches{/branch}","tags_url":"https://api.github.com/repos/apache/beam/tags","blobs_url":"https://api.github.com/repos/apache/beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/beam/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/beam/languages","stargazers_url":"https://api.github.com/repos/apache/beam/stargazers","contributors_url":"https://api.github.com/repos/apache/beam/contributors","subscribers_url":"https://api.github.com/repos/apache/beam/subscribers","subscription_url":"https://api.github.com/repos/apache/beam/subscription","commits_url":"https://api.github.com/repos/apache/beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/beam/contents/{+path}","compare_url":"https://api.github.com/repos/apache/beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/beam/merges","archive_url":"https://api.github.com/repos/apache/beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/beam/downloads","issues_url":"https://api.github.com/repos/apache/beam/issues{/number}","pulls_url":"https://api.github.com/repos/apache/beam/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/beam/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/beam/labels{/name}","releases_url":"https://api.github.com/repos/apache/beam/releases{/id}","deployments_url":"https://api.github.com/repos/apache/beam/deployments","created_at":"2016-02-02T08:00:06Z","updated_at":"2019-04-29T09:20:10Z","pushed_at":"2019-04-29T10:46:57Z","git_url":"git://github.com/apache/beam.git","ssh_url":"git@github.com:apache/beam.git","clone_url":"https://github.com/apache/beam.git","svn_url":"https://github.com/apache/beam","homepage":"https://beam.apache.org","size":124942,"stargazers_count":2827,"watchers_count":2827,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1724,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":108,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1724,"open_issues":108,"watchers":2827,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/beam/pulls/8363"},"html":{"href":"https://github.com/apache/beam/pull/8363"},"issue":{"href":"https://api.github.com/repos/apache/beam/issues/8363"},"comments":{"href":"https://api.github.com/repos/apache/beam/issues/8363/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/beam/pulls/8363/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/beam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/beam/pulls/8363/commits"},"statuses":{"href":"https://api.github.com/repos/apache/beam/statuses/591e5d185d3229670cfae8521cbd5d93a87f51ef"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"robertwb"}}