{"action":"created","comment":{"url":"https://api.github.com/repos/boto/boto3/pulls/comments/39897863","id":39897863,"diff_hunk":"@@ -56,3 +65,35 @@ def download_file(self, Bucket, Key, Filename, ExtraArgs=None,\n     return transfer.download_file(\n         bucket=Bucket, key=Key, filename=Filename,\n         extra_args=ExtraArgs, callback=Callback)\n+\n+\n+def bucket_upload_file(self, Filename, Key,\n+                       ExtraArgs=None, Callback=None, Config=None):\n+    \"\"\"Upload a file to an S3 object.\"\"\"","path":"boto3/s3/inject.py","position":27,"original_position":27,"commit_id":"e83f72f6098261467cc3d18a3cad2e58c67f37d9","original_commit_id":"e83f72f6098261467cc3d18a3cad2e58c67f37d9","user":{"login":"kyleknap","id":4605355,"avatar_url":"https://avatars.githubusercontent.com/u/4605355?v=3","gravatar_id":"","url":"https://api.github.com/users/kyleknap","html_url":"https://github.com/kyleknap","followers_url":"https://api.github.com/users/kyleknap/followers","following_url":"https://api.github.com/users/kyleknap/following{/other_user}","gists_url":"https://api.github.com/users/kyleknap/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleknap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleknap/subscriptions","organizations_url":"https://api.github.com/users/kyleknap/orgs","repos_url":"https://api.github.com/users/kyleknap/repos","events_url":"https://api.github.com/users/kyleknap/events{/privacy}","received_events_url":"https://api.github.com/users/kyleknap/received_events","type":"User","site_admin":false},"body":"It would be cool if we can add a little more to all of these docstrings. These docstrings will get publicly exposed in our documentation and it would be nice to have parameters documented and maybe even an example of how to use it.","created_at":"2015-09-18T20:33:14Z","updated_at":"2015-09-18T20:33:14Z","html_url":"https://github.com/boto/boto3/pull/243#discussion_r39897863","pull_request_url":"https://api.github.com/repos/boto/boto3/pulls/243","_links":{"self":{"href":"https://api.github.com/repos/boto/boto3/pulls/comments/39897863"},"html":{"href":"https://github.com/boto/boto3/pull/243#discussion_r39897863"},"pull_request":{"href":"https://api.github.com/repos/boto/boto3/pulls/243"}}},"pull_request":{"url":"https://api.github.com/repos/boto/boto3/pulls/243","id":44185774,"html_url":"https://github.com/boto/boto3/pull/243","diff_url":"https://github.com/boto/boto3/pull/243.diff","patch_url":"https://github.com/boto/boto3/pull/243.patch","issue_url":"https://api.github.com/repos/boto/boto3/issues/243","number":243,"state":"open","locked":false,"title":"upload_file() and download_file() for Bucket and Object","user":{"login":"rayluo","id":821550,"avatar_url":"https://avatars.githubusercontent.com/u/821550?v=3","gravatar_id":"","url":"https://api.github.com/users/rayluo","html_url":"https://github.com/rayluo","followers_url":"https://api.github.com/users/rayluo/followers","following_url":"https://api.github.com/users/rayluo/following{/other_user}","gists_url":"https://api.github.com/users/rayluo/gists{/gist_id}","starred_url":"https://api.github.com/users/rayluo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayluo/subscriptions","organizations_url":"https://api.github.com/users/rayluo/orgs","repos_url":"https://api.github.com/users/rayluo/repos","events_url":"https://api.github.com/users/rayluo/events{/privacy}","received_events_url":"https://api.github.com/users/rayluo/received_events","type":"User","site_admin":false},"body":"Unit test, function test, integration test and CHANGELOG are also updated.","created_at":"2015-09-04T06:06:44Z","updated_at":"2015-09-18T20:33:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4da1a802bd2a2cb5269f27bfc8f713946f1994a7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/boto/boto3/pulls/243/commits","review_comments_url":"https://api.github.com/repos/boto/boto3/pulls/243/comments","review_comment_url":"https://api.github.com/repos/boto/boto3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/boto/boto3/issues/243/comments","statuses_url":"https://api.github.com/repos/boto/boto3/statuses/e83f72f6098261467cc3d18a3cad2e58c67f37d9","head":{"label":"rayluo:feature-s3-transfer-methods-for-bucket-and-object","ref":"feature-s3-transfer-methods-for-bucket-and-object","sha":"e83f72f6098261467cc3d18a3cad2e58c67f37d9","user":{"login":"rayluo","id":821550,"avatar_url":"https://avatars.githubusercontent.com/u/821550?v=3","gravatar_id":"","url":"https://api.github.com/users/rayluo","html_url":"https://github.com/rayluo","followers_url":"https://api.github.com/users/rayluo/followers","following_url":"https://api.github.com/users/rayluo/following{/other_user}","gists_url":"https://api.github.com/users/rayluo/gists{/gist_id}","starred_url":"https://api.github.com/users/rayluo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayluo/subscriptions","organizations_url":"https://api.github.com/users/rayluo/orgs","repos_url":"https://api.github.com/users/rayluo/repos","events_url":"https://api.github.com/users/rayluo/events{/privacy}","received_events_url":"https://api.github.com/users/rayluo/received_events","type":"User","site_admin":false},"repo":{"id":39802787,"name":"boto3","full_name":"rayluo/boto3","owner":{"login":"rayluo","id":821550,"avatar_url":"https://avatars.githubusercontent.com/u/821550?v=3","gravatar_id":"","url":"https://api.github.com/users/rayluo","html_url":"https://github.com/rayluo","followers_url":"https://api.github.com/users/rayluo/followers","following_url":"https://api.github.com/users/rayluo/following{/other_user}","gists_url":"https://api.github.com/users/rayluo/gists{/gist_id}","starred_url":"https://api.github.com/users/rayluo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayluo/subscriptions","organizations_url":"https://api.github.com/users/rayluo/orgs","repos_url":"https://api.github.com/users/rayluo/repos","events_url":"https://api.github.com/users/rayluo/events{/privacy}","received_events_url":"https://api.github.com/users/rayluo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rayluo/boto3","description":"AWS SDK for Python","fork":true,"url":"https://api.github.com/repos/rayluo/boto3","forks_url":"https://api.github.com/repos/rayluo/boto3/forks","keys_url":"https://api.github.com/repos/rayluo/boto3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rayluo/boto3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rayluo/boto3/teams","hooks_url":"https://api.github.com/repos/rayluo/boto3/hooks","issue_events_url":"https://api.github.com/repos/rayluo/boto3/issues/events{/number}","events_url":"https://api.github.com/repos/rayluo/boto3/events","assignees_url":"https://api.github.com/repos/rayluo/boto3/assignees{/user}","branches_url":"https://api.github.com/repos/rayluo/boto3/branches{/branch}","tags_url":"https://api.github.com/repos/rayluo/boto3/tags","blobs_url":"https://api.github.com/repos/rayluo/boto3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rayluo/boto3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rayluo/boto3/git/refs{/sha}","trees_url":"https://api.github.com/repos/rayluo/boto3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rayluo/boto3/statuses/{sha}","languages_url":"https://api.github.com/repos/rayluo/boto3/languages","stargazers_url":"https://api.github.com/repos/rayluo/boto3/stargazers","contributors_url":"https://api.github.com/repos/rayluo/boto3/contributors","subscribers_url":"https://api.github.com/repos/rayluo/boto3/subscribers","subscription_url":"https://api.github.com/repos/rayluo/boto3/subscription","commits_url":"https://api.github.com/repos/rayluo/boto3/commits{/sha}","git_commits_url":"https://api.github.com/repos/rayluo/boto3/git/commits{/sha}","comments_url":"https://api.github.com/repos/rayluo/boto3/comments{/number}","issue_comment_url":"https://api.github.com/repos/rayluo/boto3/issues/comments{/number}","contents_url":"https://api.github.com/repos/rayluo/boto3/contents/{+path}","compare_url":"https://api.github.com/repos/rayluo/boto3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rayluo/boto3/merges","archive_url":"https://api.github.com/repos/rayluo/boto3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rayluo/boto3/downloads","issues_url":"https://api.github.com/repos/rayluo/boto3/issues{/number}","pulls_url":"https://api.github.com/repos/rayluo/boto3/pulls{/number}","milestones_url":"https://api.github.com/repos/rayluo/boto3/milestones{/number}","notifications_url":"https://api.github.com/repos/rayluo/boto3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rayluo/boto3/labels{/name}","releases_url":"https://api.github.com/repos/rayluo/boto3/releases{/id}","created_at":"2015-07-27T23:27:03Z","updated_at":"2015-07-27T23:27:05Z","pushed_at":"2015-09-12T00:34:54Z","git_url":"git://github.com/rayluo/boto3.git","ssh_url":"git@github.com:rayluo/boto3.git","clone_url":"https://github.com/rayluo/boto3.git","svn_url":"https://github.com/rayluo/boto3","homepage":"http://aws.amazon.com/sdk-for-python/","size":864,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"develop"}},"base":{"label":"boto:develop","ref":"develop","sha":"c1551fdf1fb6a6b46893245589a541e8d3b4861a","user":{"login":"boto","id":327752,"avatar_url":"https://avatars.githubusercontent.com/u/327752?v=3","gravatar_id":"","url":"https://api.github.com/users/boto","html_url":"https://github.com/boto","followers_url":"https://api.github.com/users/boto/followers","following_url":"https://api.github.com/users/boto/following{/other_user}","gists_url":"https://api.github.com/users/boto/gists{/gist_id}","starred_url":"https://api.github.com/users/boto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boto/subscriptions","organizations_url":"https://api.github.com/users/boto/orgs","repos_url":"https://api.github.com/users/boto/repos","events_url":"https://api.github.com/users/boto/events{/privacy}","received_events_url":"https://api.github.com/users/boto/received_events","type":"Organization","site_admin":false},"repo":{"id":24774658,"name":"boto3","full_name":"boto/boto3","owner":{"login":"boto","id":327752,"avatar_url":"https://avatars.githubusercontent.com/u/327752?v=3","gravatar_id":"","url":"https://api.github.com/users/boto","html_url":"https://github.com/boto","followers_url":"https://api.github.com/users/boto/followers","following_url":"https://api.github.com/users/boto/following{/other_user}","gists_url":"https://api.github.com/users/boto/gists{/gist_id}","starred_url":"https://api.github.com/users/boto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boto/subscriptions","organizations_url":"https://api.github.com/users/boto/orgs","repos_url":"https://api.github.com/users/boto/repos","events_url":"https://api.github.com/users/boto/events{/privacy}","received_events_url":"https://api.github.com/users/boto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/boto/boto3","description":"AWS SDK for Python","fork":false,"url":"https://api.github.com/repos/boto/boto3","forks_url":"https://api.github.com/repos/boto/boto3/forks","keys_url":"https://api.github.com/repos/boto/boto3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boto/boto3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boto/boto3/teams","hooks_url":"https://api.github.com/repos/boto/boto3/hooks","issue_events_url":"https://api.github.com/repos/boto/boto3/issues/events{/number}","events_url":"https://api.github.com/repos/boto/boto3/events","assignees_url":"https://api.github.com/repos/boto/boto3/assignees{/user}","branches_url":"https://api.github.com/repos/boto/boto3/branches{/branch}","tags_url":"https://api.github.com/repos/boto/boto3/tags","blobs_url":"https://api.github.com/repos/boto/boto3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boto/boto3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boto/boto3/git/refs{/sha}","trees_url":"https://api.github.com/repos/boto/boto3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boto/boto3/statuses/{sha}","languages_url":"https://api.github.com/repos/boto/boto3/languages","stargazers_url":"https://api.github.com/repos/boto/boto3/stargazers","contributors_url":"https://api.github.com/repos/boto/boto3/contributors","subscribers_url":"https://api.github.com/repos/boto/boto3/subscribers","subscription_url":"https://api.github.com/repos/boto/boto3/subscription","commits_url":"https://api.github.com/repos/boto/boto3/commits{/sha}","git_commits_url":"https://api.github.com/repos/boto/boto3/git/commits{/sha}","comments_url":"https://api.github.com/repos/boto/boto3/comments{/number}","issue_comment_url":"https://api.github.com/repos/boto/boto3/issues/comments{/number}","contents_url":"https://api.github.com/repos/boto/boto3/contents/{+path}","compare_url":"https://api.github.com/repos/boto/boto3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boto/boto3/merges","archive_url":"https://api.github.com/repos/boto/boto3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boto/boto3/downloads","issues_url":"https://api.github.com/repos/boto/boto3/issues{/number}","pulls_url":"https://api.github.com/repos/boto/boto3/pulls{/number}","milestones_url":"https://api.github.com/repos/boto/boto3/milestones{/number}","notifications_url":"https://api.github.com/repos/boto/boto3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boto/boto3/labels{/name}","releases_url":"https://api.github.com/repos/boto/boto3/releases{/id}","created_at":"2014-10-03T21:38:03Z","updated_at":"2015-09-18T20:12:11Z","pushed_at":"2015-09-18T20:24:19Z","git_url":"git://github.com/boto/boto3.git","ssh_url":"git@github.com:boto/boto3.git","clone_url":"https://github.com/boto/boto3.git","svn_url":"https://github.com/boto/boto3","homepage":"http://aws.amazon.com/sdk-for-python/","size":2234,"stargazers_count":441,"watchers_count":441,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":51,"forks":70,"open_issues":51,"watchers":441,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/boto/boto3/pulls/243"},"html":{"href":"https://github.com/boto/boto3/pull/243"},"issue":{"href":"https://api.github.com/repos/boto/boto3/issues/243"},"comments":{"href":"https://api.github.com/repos/boto/boto3/issues/243/comments"},"review_comments":{"href":"https://api.github.com/repos/boto/boto3/pulls/243/comments"},"review_comment":{"href":"https://api.github.com/repos/boto/boto3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/boto/boto3/pulls/243/commits"},"statuses":{"href":"https://api.github.com/repos/boto/boto3/statuses/e83f72f6098261467cc3d18a3cad2e58c67f37d9"}}}}