{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-beam/pulls/comments/78243953","id":78243953,"diff_hunk":"@@ -94,6 +95,7 @@ def __init__(self, file_pattern, min_bundle_size=0):\n     self._avro_schema = None\n     self._codec = None\n     self._sync_marker = None\n+    self._progress_lock = threading.Lock()","path":"sdks/python/apache_beam/io/avroio.py","position":12,"original_position":12,"commit_id":"b4086f25134d88f31b17b762edd2108ba2d9aa9c","original_commit_id":"b4086f25134d88f31b17b762edd2108ba2d9aa9c","user":{"login":"dhalperi","id":526415,"avatar_url":"https://avatars.githubusercontent.com/u/526415?v=3","gravatar_id":"","url":"https://api.github.com/users/dhalperi","html_url":"https://github.com/dhalperi","followers_url":"https://api.github.com/users/dhalperi/followers","following_url":"https://api.github.com/users/dhalperi/following{/other_user}","gists_url":"https://api.github.com/users/dhalperi/gists{/gist_id}","starred_url":"https://api.github.com/users/dhalperi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhalperi/subscriptions","organizations_url":"https://api.github.com/users/dhalperi/orgs","repos_url":"https://api.github.com/users/dhalperi/repos","events_url":"https://api.github.com/users/dhalperi/events{/privacy}","received_events_url":"https://api.github.com/users/dhalperi/received_events","type":"User","site_admin":false},"body":"does Python have any annotations you would use like Java's `@GuardedBy` to enable tools to identify locking bugs?","created_at":"2016-09-09T20:31:14Z","updated_at":"2016-09-09T20:31:14Z","html_url":"https://github.com/apache/incubator-beam/pull/881#discussion_r78243953","pull_request_url":"https://api.github.com/repos/apache/incubator-beam/pulls/881","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/comments/78243953"},"html":{"href":"https://github.com/apache/incubator-beam/pull/881#discussion_r78243953"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/881"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-beam/pulls/881","id":82634574,"html_url":"https://github.com/apache/incubator-beam/pull/881","diff_url":"https://github.com/apache/incubator-beam/pull/881.diff","patch_url":"https://github.com/apache/incubator-beam/pull/881.patch","issue_url":"https://api.github.com/repos/apache/incubator-beam/issues/881","number":881,"state":"open","locked":false,"title":"[BEAM-564] Updates sources to report consumed and remaining number of split points","user":{"login":"chamikaramj","id":10819857,"avatar_url":"https://avatars.githubusercontent.com/u/10819857?v=3","gravatar_id":"","url":"https://api.github.com/users/chamikaramj","html_url":"https://github.com/chamikaramj","followers_url":"https://api.github.com/users/chamikaramj/followers","following_url":"https://api.github.com/users/chamikaramj/following{/other_user}","gists_url":"https://api.github.com/users/chamikaramj/gists{/gist_id}","starred_url":"https://api.github.com/users/chamikaramj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamikaramj/subscriptions","organizations_url":"https://api.github.com/users/chamikaramj/orgs","repos_url":"https://api.github.com/users/chamikaramj/repos","events_url":"https://api.github.com/users/chamikaramj/events{/privacy}","received_events_url":"https://api.github.com/users/chamikaramj/received_events","type":"User","site_admin":false},"body":"Adds several methods to the RangeTracker interface to support this. Please see comments for details.\r\n\r\nUpdates AvroSource and LineSource (test) to report split points properly.\r\n\r\nRunners can use this information to determine the amount of remaining and consumed parallelism of source read operations. Java SDK sources framework already supports reporting these signals.","created_at":"2016-08-24T23:25:08Z","updated_at":"2016-09-09T20:31:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f60a3cbff4ed4172e1ffc6c90339d299db7a24ab","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-beam/pulls/881/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-beam/pulls/881/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-beam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-beam/issues/881/comments","statuses_url":"https://api.github.com/repos/apache/incubator-beam/statuses/b4086f25134d88f31b17b762edd2108ba2d9aa9c","head":{"label":"chamikaramj:limited_parallelism","ref":"limited_parallelism","sha":"b4086f25134d88f31b17b762edd2108ba2d9aa9c","user":{"login":"chamikaramj","id":10819857,"avatar_url":"https://avatars.githubusercontent.com/u/10819857?v=3","gravatar_id":"","url":"https://api.github.com/users/chamikaramj","html_url":"https://github.com/chamikaramj","followers_url":"https://api.github.com/users/chamikaramj/followers","following_url":"https://api.github.com/users/chamikaramj/following{/other_user}","gists_url":"https://api.github.com/users/chamikaramj/gists{/gist_id}","starred_url":"https://api.github.com/users/chamikaramj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamikaramj/subscriptions","organizations_url":"https://api.github.com/users/chamikaramj/orgs","repos_url":"https://api.github.com/users/chamikaramj/repos","events_url":"https://api.github.com/users/chamikaramj/events{/privacy}","received_events_url":"https://api.github.com/users/chamikaramj/received_events","type":"User","site_admin":false},"repo":{"id":61584074,"name":"incubator-beam","full_name":"chamikaramj/incubator-beam","owner":{"login":"chamikaramj","id":10819857,"avatar_url":"https://avatars.githubusercontent.com/u/10819857?v=3","gravatar_id":"","url":"https://api.github.com/users/chamikaramj","html_url":"https://github.com/chamikaramj","followers_url":"https://api.github.com/users/chamikaramj/followers","following_url":"https://api.github.com/users/chamikaramj/following{/other_user}","gists_url":"https://api.github.com/users/chamikaramj/gists{/gist_id}","starred_url":"https://api.github.com/users/chamikaramj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamikaramj/subscriptions","organizations_url":"https://api.github.com/users/chamikaramj/orgs","repos_url":"https://api.github.com/users/chamikaramj/repos","events_url":"https://api.github.com/users/chamikaramj/events{/privacy}","received_events_url":"https://api.github.com/users/chamikaramj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chamikaramj/incubator-beam","description":"Mirror of Apache Beam (Incubating)","fork":true,"url":"https://api.github.com/repos/chamikaramj/incubator-beam","forks_url":"https://api.github.com/repos/chamikaramj/incubator-beam/forks","keys_url":"https://api.github.com/repos/chamikaramj/incubator-beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chamikaramj/incubator-beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chamikaramj/incubator-beam/teams","hooks_url":"https://api.github.com/repos/chamikaramj/incubator-beam/hooks","issue_events_url":"https://api.github.com/repos/chamikaramj/incubator-beam/issues/events{/number}","events_url":"https://api.github.com/repos/chamikaramj/incubator-beam/events","assignees_url":"https://api.github.com/repos/chamikaramj/incubator-beam/assignees{/user}","branches_url":"https://api.github.com/repos/chamikaramj/incubator-beam/branches{/branch}","tags_url":"https://api.github.com/repos/chamikaramj/incubator-beam/tags","blobs_url":"https://api.github.com/repos/chamikaramj/incubator-beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chamikaramj/incubator-beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chamikaramj/incubator-beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/chamikaramj/incubator-beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chamikaramj/incubator-beam/statuses/{sha}","languages_url":"https://api.github.com/repos/chamikaramj/incubator-beam/languages","stargazers_url":"https://api.github.com/repos/chamikaramj/incubator-beam/stargazers","contributors_url":"https://api.github.com/repos/chamikaramj/incubator-beam/contributors","subscribers_url":"https://api.github.com/repos/chamikaramj/incubator-beam/subscribers","subscription_url":"https://api.github.com/repos/chamikaramj/incubator-beam/subscription","commits_url":"https://api.github.com/repos/chamikaramj/incubator-beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/chamikaramj/incubator-beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/chamikaramj/incubator-beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/chamikaramj/incubator-beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/chamikaramj/incubator-beam/contents/{+path}","compare_url":"https://api.github.com/repos/chamikaramj/incubator-beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chamikaramj/incubator-beam/merges","archive_url":"https://api.github.com/repos/chamikaramj/incubator-beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chamikaramj/incubator-beam/downloads","issues_url":"https://api.github.com/repos/chamikaramj/incubator-beam/issues{/number}","pulls_url":"https://api.github.com/repos/chamikaramj/incubator-beam/pulls{/number}","milestones_url":"https://api.github.com/repos/chamikaramj/incubator-beam/milestones{/number}","notifications_url":"https://api.github.com/repos/chamikaramj/incubator-beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chamikaramj/incubator-beam/labels{/name}","releases_url":"https://api.github.com/repos/chamikaramj/incubator-beam/releases{/id}","deployments_url":"https://api.github.com/repos/chamikaramj/incubator-beam/deployments","created_at":"2016-06-20T22:15:27Z","updated_at":"2016-06-20T22:15:32Z","pushed_at":"2016-09-06T20:19:31Z","git_url":"git://github.com/chamikaramj/incubator-beam.git","ssh_url":"git@github.com:chamikaramj/incubator-beam.git","clone_url":"https://github.com/chamikaramj/incubator-beam.git","svn_url":"https://github.com/chamikaramj/incubator-beam","homepage":null,"size":18908,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"apache:python-sdk","ref":"python-sdk","sha":"76a6d6bdcf93d3e30271d385faf526cc9a51beb2","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","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,"name":"incubator-beam","full_name":"apache/incubator-beam","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","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},"private":false,"html_url":"https://github.com/apache/incubator-beam","description":"Mirror of Apache Beam (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-beam","forks_url":"https://api.github.com/repos/apache/incubator-beam/forks","keys_url":"https://api.github.com/repos/apache/incubator-beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-beam/teams","hooks_url":"https://api.github.com/repos/apache/incubator-beam/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-beam/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-beam/events","assignees_url":"https://api.github.com/repos/apache/incubator-beam/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-beam/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-beam/tags","blobs_url":"https://api.github.com/repos/apache/incubator-beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-beam/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-beam/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-beam/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-beam/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-beam/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-beam/subscription","commits_url":"https://api.github.com/repos/apache/incubator-beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-beam/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-beam/merges","archive_url":"https://api.github.com/repos/apache/incubator-beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-beam/downloads","issues_url":"https://api.github.com/repos/apache/incubator-beam/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-beam/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-beam/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-beam/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-beam/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-beam/deployments","created_at":"2016-02-02T08:00:06Z","updated_at":"2016-09-09T13:15:06Z","pushed_at":"2016-09-09T20:14:21Z","git_url":"git://github.com/apache/incubator-beam.git","ssh_url":"git@github.com:apache/incubator-beam.git","clone_url":"https://github.com/apache/incubator-beam.git","svn_url":"https://github.com/apache/incubator-beam","homepage":null,"size":27809,"stargazers_count":337,"watchers_count":337,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":209,"mirror_url":"git://git.apache.org/incubator-beam.git","open_issues_count":43,"forks":209,"open_issues":43,"watchers":337,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/881"},"html":{"href":"https://github.com/apache/incubator-beam/pull/881"},"issue":{"href":"https://api.github.com/repos/apache/incubator-beam/issues/881"},"comments":{"href":"https://api.github.com/repos/apache/incubator-beam/issues/881/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/881/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/881/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-beam/statuses/b4086f25134d88f31b17b762edd2108ba2d9aa9c"}}}}
{"actor":{"display_login":"dhalperi"}}