{"action":"created","comment":{"url":"https://api.github.com/repos/blaze/distributed/pulls/comments/49949277","id":49949277,"diff_hunk":"@@ -0,0 +1,34 @@\n+import boto3\n+from dask.imperative import Value\n+from distributed import default_executor\n+from toolz import curry\n+\n+DEFAULT_PAGE_LENGHT = 1000\n+\n+\n+def get_list_of_summary_objects(bucket_name, prefix='', page_size=DEFAULT_PAGE_LENGHT):\n+    s3 = boto3.resource('s3')\n+    return [summary_object for summary_object in\n+            s3.Bucket(bucket_name).objects.filter(Prefix=prefix).page_size(page_size)]","path":"distributed/s3.py","position":12,"original_position":12,"commit_id":"4a9ff39f2f79a23cb4c92210897f1c72a9e65f1b","original_commit_id":"4a9ff39f2f79a23cb4c92210897f1c72a9e65f1b","user":{"login":"mrocklin","id":306380,"avatar_url":"https://avatars.githubusercontent.com/u/306380?v=3","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"body":"`[x for x in ...]` -> `list(s3.Bucket(...))`","created_at":"2016-01-17T17:33:22Z","updated_at":"2016-01-17T17:33:22Z","html_url":"https://github.com/blaze/distributed/pull/75#discussion_r49949277","pull_request_url":"https://api.github.com/repos/blaze/distributed/pulls/75","_links":{"self":{"href":"https://api.github.com/repos/blaze/distributed/pulls/comments/49949277"},"html":{"href":"https://github.com/blaze/distributed/pull/75#discussion_r49949277"},"pull_request":{"href":"https://api.github.com/repos/blaze/distributed/pulls/75"}}},"pull_request":{"url":"https://api.github.com/repos/blaze/distributed/pulls/75","id":56268164,"html_url":"https://github.com/blaze/distributed/pull/75","diff_url":"https://github.com/blaze/distributed/pull/75.diff","patch_url":"https://github.com/blaze/distributed/pull/75.patch","issue_url":"https://api.github.com/repos/blaze/distributed/issues/75","number":75,"state":"open","locked":false,"title":"WIP: S3 Support","user":{"login":"hussainsultan","id":3936122,"avatar_url":"https://avatars.githubusercontent.com/u/3936122?v=3","gravatar_id":"","url":"https://api.github.com/users/hussainsultan","html_url":"https://github.com/hussainsultan","followers_url":"https://api.github.com/users/hussainsultan/followers","following_url":"https://api.github.com/users/hussainsultan/following{/other_user}","gists_url":"https://api.github.com/users/hussainsultan/gists{/gist_id}","starred_url":"https://api.github.com/users/hussainsultan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hussainsultan/subscriptions","organizations_url":"https://api.github.com/users/hussainsultan/orgs","repos_url":"https://api.github.com/users/hussainsultan/repos","events_url":"https://api.github.com/users/hussainsultan/events{/privacy}","received_events_url":"https://api.github.com/users/hussainsultan/received_events","type":"User","site_admin":false},"body":"Adds minimal S3 support for reading and writing.All tests pass with real S3 but i was unable to get Moto to work with gen_cluster  coroutine testing. ","created_at":"2016-01-17T01:48:53Z","updated_at":"2016-01-17T17:33:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4c0ab56bcd962ec9181363815ee80d72b1691a3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/blaze/distributed/pulls/75/commits","review_comments_url":"https://api.github.com/repos/blaze/distributed/pulls/75/comments","review_comment_url":"https://api.github.com/repos/blaze/distributed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/blaze/distributed/issues/75/comments","statuses_url":"https://api.github.com/repos/blaze/distributed/statuses/4a9ff39f2f79a23cb4c92210897f1c72a9e65f1b","head":{"label":"hussainsultan:master","ref":"master","sha":"4a9ff39f2f79a23cb4c92210897f1c72a9e65f1b","user":{"login":"hussainsultan","id":3936122,"avatar_url":"https://avatars.githubusercontent.com/u/3936122?v=3","gravatar_id":"","url":"https://api.github.com/users/hussainsultan","html_url":"https://github.com/hussainsultan","followers_url":"https://api.github.com/users/hussainsultan/followers","following_url":"https://api.github.com/users/hussainsultan/following{/other_user}","gists_url":"https://api.github.com/users/hussainsultan/gists{/gist_id}","starred_url":"https://api.github.com/users/hussainsultan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hussainsultan/subscriptions","organizations_url":"https://api.github.com/users/hussainsultan/orgs","repos_url":"https://api.github.com/users/hussainsultan/repos","events_url":"https://api.github.com/users/hussainsultan/events{/privacy}","received_events_url":"https://api.github.com/users/hussainsultan/received_events","type":"User","site_admin":false},"repo":{"id":48921942,"name":"distributed","full_name":"hussainsultan/distributed","owner":{"login":"hussainsultan","id":3936122,"avatar_url":"https://avatars.githubusercontent.com/u/3936122?v=3","gravatar_id":"","url":"https://api.github.com/users/hussainsultan","html_url":"https://github.com/hussainsultan","followers_url":"https://api.github.com/users/hussainsultan/followers","following_url":"https://api.github.com/users/hussainsultan/following{/other_user}","gists_url":"https://api.github.com/users/hussainsultan/gists{/gist_id}","starred_url":"https://api.github.com/users/hussainsultan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hussainsultan/subscriptions","organizations_url":"https://api.github.com/users/hussainsultan/orgs","repos_url":"https://api.github.com/users/hussainsultan/repos","events_url":"https://api.github.com/users/hussainsultan/events{/privacy}","received_events_url":"https://api.github.com/users/hussainsultan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hussainsultan/distributed","description":"","fork":true,"url":"https://api.github.com/repos/hussainsultan/distributed","forks_url":"https://api.github.com/repos/hussainsultan/distributed/forks","keys_url":"https://api.github.com/repos/hussainsultan/distributed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hussainsultan/distributed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hussainsultan/distributed/teams","hooks_url":"https://api.github.com/repos/hussainsultan/distributed/hooks","issue_events_url":"https://api.github.com/repos/hussainsultan/distributed/issues/events{/number}","events_url":"https://api.github.com/repos/hussainsultan/distributed/events","assignees_url":"https://api.github.com/repos/hussainsultan/distributed/assignees{/user}","branches_url":"https://api.github.com/repos/hussainsultan/distributed/branches{/branch}","tags_url":"https://api.github.com/repos/hussainsultan/distributed/tags","blobs_url":"https://api.github.com/repos/hussainsultan/distributed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hussainsultan/distributed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hussainsultan/distributed/git/refs{/sha}","trees_url":"https://api.github.com/repos/hussainsultan/distributed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hussainsultan/distributed/statuses/{sha}","languages_url":"https://api.github.com/repos/hussainsultan/distributed/languages","stargazers_url":"https://api.github.com/repos/hussainsultan/distributed/stargazers","contributors_url":"https://api.github.com/repos/hussainsultan/distributed/contributors","subscribers_url":"https://api.github.com/repos/hussainsultan/distributed/subscribers","subscription_url":"https://api.github.com/repos/hussainsultan/distributed/subscription","commits_url":"https://api.github.com/repos/hussainsultan/distributed/commits{/sha}","git_commits_url":"https://api.github.com/repos/hussainsultan/distributed/git/commits{/sha}","comments_url":"https://api.github.com/repos/hussainsultan/distributed/comments{/number}","issue_comment_url":"https://api.github.com/repos/hussainsultan/distributed/issues/comments{/number}","contents_url":"https://api.github.com/repos/hussainsultan/distributed/contents/{+path}","compare_url":"https://api.github.com/repos/hussainsultan/distributed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hussainsultan/distributed/merges","archive_url":"https://api.github.com/repos/hussainsultan/distributed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hussainsultan/distributed/downloads","issues_url":"https://api.github.com/repos/hussainsultan/distributed/issues{/number}","pulls_url":"https://api.github.com/repos/hussainsultan/distributed/pulls{/number}","milestones_url":"https://api.github.com/repos/hussainsultan/distributed/milestones{/number}","notifications_url":"https://api.github.com/repos/hussainsultan/distributed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hussainsultan/distributed/labels{/name}","releases_url":"https://api.github.com/repos/hussainsultan/distributed/releases{/id}","created_at":"2016-01-02T19:55:32Z","updated_at":"2016-01-16T02:31:17Z","pushed_at":"2016-01-17T02:54:56Z","git_url":"git://github.com/hussainsultan/distributed.git","ssh_url":"git@github.com:hussainsultan/distributed.git","clone_url":"https://github.com/hussainsultan/distributed.git","svn_url":"https://github.com/hussainsultan/distributed","homepage":null,"size":1276,"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":"blaze:master","ref":"master","sha":"c2e71432e69d199c7db9786c3bd1362790c8e1a4","user":{"login":"blaze","id":12833921,"avatar_url":"https://avatars.githubusercontent.com/u/12833921?v=3","gravatar_id":"","url":"https://api.github.com/users/blaze","html_url":"https://github.com/blaze","followers_url":"https://api.github.com/users/blaze/followers","following_url":"https://api.github.com/users/blaze/following{/other_user}","gists_url":"https://api.github.com/users/blaze/gists{/gist_id}","starred_url":"https://api.github.com/users/blaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blaze/subscriptions","organizations_url":"https://api.github.com/users/blaze/orgs","repos_url":"https://api.github.com/users/blaze/repos","events_url":"https://api.github.com/users/blaze/events{/privacy}","received_events_url":"https://api.github.com/users/blaze/received_events","type":"Organization","site_admin":false},"repo":{"id":42408083,"name":"distributed","full_name":"blaze/distributed","owner":{"login":"blaze","id":12833921,"avatar_url":"https://avatars.githubusercontent.com/u/12833921?v=3","gravatar_id":"","url":"https://api.github.com/users/blaze","html_url":"https://github.com/blaze","followers_url":"https://api.github.com/users/blaze/followers","following_url":"https://api.github.com/users/blaze/following{/other_user}","gists_url":"https://api.github.com/users/blaze/gists{/gist_id}","starred_url":"https://api.github.com/users/blaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blaze/subscriptions","organizations_url":"https://api.github.com/users/blaze/orgs","repos_url":"https://api.github.com/users/blaze/repos","events_url":"https://api.github.com/users/blaze/events{/privacy}","received_events_url":"https://api.github.com/users/blaze/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blaze/distributed","description":"","fork":false,"url":"https://api.github.com/repos/blaze/distributed","forks_url":"https://api.github.com/repos/blaze/distributed/forks","keys_url":"https://api.github.com/repos/blaze/distributed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blaze/distributed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blaze/distributed/teams","hooks_url":"https://api.github.com/repos/blaze/distributed/hooks","issue_events_url":"https://api.github.com/repos/blaze/distributed/issues/events{/number}","events_url":"https://api.github.com/repos/blaze/distributed/events","assignees_url":"https://api.github.com/repos/blaze/distributed/assignees{/user}","branches_url":"https://api.github.com/repos/blaze/distributed/branches{/branch}","tags_url":"https://api.github.com/repos/blaze/distributed/tags","blobs_url":"https://api.github.com/repos/blaze/distributed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blaze/distributed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blaze/distributed/git/refs{/sha}","trees_url":"https://api.github.com/repos/blaze/distributed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blaze/distributed/statuses/{sha}","languages_url":"https://api.github.com/repos/blaze/distributed/languages","stargazers_url":"https://api.github.com/repos/blaze/distributed/stargazers","contributors_url":"https://api.github.com/repos/blaze/distributed/contributors","subscribers_url":"https://api.github.com/repos/blaze/distributed/subscribers","subscription_url":"https://api.github.com/repos/blaze/distributed/subscription","commits_url":"https://api.github.com/repos/blaze/distributed/commits{/sha}","git_commits_url":"https://api.github.com/repos/blaze/distributed/git/commits{/sha}","comments_url":"https://api.github.com/repos/blaze/distributed/comments{/number}","issue_comment_url":"https://api.github.com/repos/blaze/distributed/issues/comments{/number}","contents_url":"https://api.github.com/repos/blaze/distributed/contents/{+path}","compare_url":"https://api.github.com/repos/blaze/distributed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blaze/distributed/merges","archive_url":"https://api.github.com/repos/blaze/distributed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blaze/distributed/downloads","issues_url":"https://api.github.com/repos/blaze/distributed/issues{/number}","pulls_url":"https://api.github.com/repos/blaze/distributed/pulls{/number}","milestones_url":"https://api.github.com/repos/blaze/distributed/milestones{/number}","notifications_url":"https://api.github.com/repos/blaze/distributed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blaze/distributed/labels{/name}","releases_url":"https://api.github.com/repos/blaze/distributed/releases{/id}","created_at":"2015-09-13T18:42:29Z","updated_at":"2016-01-13T13:38:43Z","pushed_at":"2016-01-17T02:54:56Z","git_url":"git://github.com/blaze/distributed.git","ssh_url":"git@github.com:blaze/distributed.git","clone_url":"https://github.com/blaze/distributed.git","svn_url":"https://github.com/blaze/distributed","homepage":null,"size":1274,"stargazers_count":29,"watchers_count":29,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":17,"forks":11,"open_issues":17,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/blaze/distributed/pulls/75"},"html":{"href":"https://github.com/blaze/distributed/pull/75"},"issue":{"href":"https://api.github.com/repos/blaze/distributed/issues/75"},"comments":{"href":"https://api.github.com/repos/blaze/distributed/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/blaze/distributed/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/blaze/distributed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/blaze/distributed/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/blaze/distributed/statuses/4a9ff39f2f79a23cb4c92210897f1c72a9e65f1b"}}}}