{"action":"created","comment":{"url":"https://api.github.com/repos/Kinto/kinto.py/pulls/comments/36472382","id":36472382,"diff_hunk":"@@ -195,8 +194,10 @@ bucket. It is possible to pass the session to the constructor of the `Bucket`.\n     from kintoclient import BatchSession, Bucket\n     session = BatchSession()\n \n-    my_bucket = Bucket('personal', session=session)\n-    session.commit()\n+    my_bucket = Bucket('personal', session=session, create=True)\n+    for collection in range(5):\n+        my_bucket.create_collection(\"toto-%s\" % collection, create=True)","path":"README.rst","position":136,"original_position":136,"commit_id":"eac878230dd992eca1ecaf2bbbcbf4087a8f90e4","original_commit_id":"eac878230dd992eca1ecaf2bbbcbf4087a8f90e4","user":{"login":"ametaireau","id":67073,"avatar_url":"https://avatars.githubusercontent.com/u/67073?v=3","gravatar_id":"","url":"https://api.github.com/users/ametaireau","html_url":"https://github.com/ametaireau","followers_url":"https://api.github.com/users/ametaireau/followers","following_url":"https://api.github.com/users/ametaireau/following{/other_user}","gists_url":"https://api.github.com/users/ametaireau/gists{/gist_id}","starred_url":"https://api.github.com/users/ametaireau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ametaireau/subscriptions","organizations_url":"https://api.github.com/users/ametaireau/orgs","repos_url":"https://api.github.com/users/ametaireau/repos","events_url":"https://api.github.com/users/ametaireau/events{/privacy}","received_events_url":"https://api.github.com/users/ametaireau/received_events","type":"User","site_admin":false},"body":"yeah, I actually need to update this README :)","created_at":"2015-08-06T22:11:52Z","updated_at":"2015-08-06T22:11:52Z","html_url":"https://github.com/Kinto/kinto.py/pull/3#discussion_r36472382","pull_request_url":"https://api.github.com/repos/Kinto/kinto.py/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Kinto/kinto.py/pulls/comments/36472382"},"html":{"href":"https://github.com/Kinto/kinto.py/pull/3#discussion_r36472382"},"pull_request":{"href":"https://api.github.com/repos/Kinto/kinto.py/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Kinto/kinto.py/pulls/3","id":39057891,"html_url":"https://github.com/Kinto/kinto.py/pull/3","diff_url":"https://github.com/Kinto/kinto.py/pull/3.diff","patch_url":"https://github.com/Kinto/kinto.py/pull/3.patch","issue_url":"https://api.github.com/repos/Kinto/kinto.py/issues/3","number":3,"state":"open","locked":false,"title":"First implementation","user":{"login":"ametaireau","id":67073,"avatar_url":"https://avatars.githubusercontent.com/u/67073?v=3","gravatar_id":"","url":"https://api.github.com/users/ametaireau","html_url":"https://github.com/ametaireau","followers_url":"https://api.github.com/users/ametaireau/followers","following_url":"https://api.github.com/users/ametaireau/following{/other_user}","gists_url":"https://api.github.com/users/ametaireau/gists{/gist_id}","starred_url":"https://api.github.com/users/ametaireau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ametaireau/subscriptions","organizations_url":"https://api.github.com/users/ametaireau/orgs","repos_url":"https://api.github.com/users/ametaireau/repos","events_url":"https://api.github.com/users/ametaireau/events{/privacy}","received_events_url":"https://api.github.com/users/ametaireau/received_events","type":"User","site_admin":false},"body":"Based on top of #1 \r\n\r\n- [x] Session handling;\r\n- [x] Bucket handling;\r\n- [x] Permissions handling;\r\n- [x] Collection handling;\r\n- [x] Records handling;","created_at":"2015-07-02T08:14:27Z","updated_at":"2015-08-06T22:11:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"63c7d6024ca5a37fe3c8375ef892fbc3d6588041","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Kinto/kinto.py/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Kinto/kinto.py/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Kinto/kinto.py/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kinto/kinto.py/issues/3/comments","statuses_url":"https://api.github.com/repos/Kinto/kinto.py/statuses/eac878230dd992eca1ecaf2bbbcbf4087a8f90e4","head":{"label":"Kinto:first-implementation","ref":"first-implementation","sha":"eac878230dd992eca1ecaf2bbbcbf4087a8f90e4","user":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"repo":{"id":37655419,"name":"kinto.py","full_name":"Kinto/kinto.py","owner":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kinto/kinto.py","description":"Python library to interact with Kinto","fork":false,"url":"https://api.github.com/repos/Kinto/kinto.py","forks_url":"https://api.github.com/repos/Kinto/kinto.py/forks","keys_url":"https://api.github.com/repos/Kinto/kinto.py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kinto/kinto.py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kinto/kinto.py/teams","hooks_url":"https://api.github.com/repos/Kinto/kinto.py/hooks","issue_events_url":"https://api.github.com/repos/Kinto/kinto.py/issues/events{/number}","events_url":"https://api.github.com/repos/Kinto/kinto.py/events","assignees_url":"https://api.github.com/repos/Kinto/kinto.py/assignees{/user}","branches_url":"https://api.github.com/repos/Kinto/kinto.py/branches{/branch}","tags_url":"https://api.github.com/repos/Kinto/kinto.py/tags","blobs_url":"https://api.github.com/repos/Kinto/kinto.py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kinto/kinto.py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kinto/kinto.py/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kinto/kinto.py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kinto/kinto.py/statuses/{sha}","languages_url":"https://api.github.com/repos/Kinto/kinto.py/languages","stargazers_url":"https://api.github.com/repos/Kinto/kinto.py/stargazers","contributors_url":"https://api.github.com/repos/Kinto/kinto.py/contributors","subscribers_url":"https://api.github.com/repos/Kinto/kinto.py/subscribers","subscription_url":"https://api.github.com/repos/Kinto/kinto.py/subscription","commits_url":"https://api.github.com/repos/Kinto/kinto.py/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kinto/kinto.py/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kinto/kinto.py/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kinto/kinto.py/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kinto/kinto.py/contents/{+path}","compare_url":"https://api.github.com/repos/Kinto/kinto.py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kinto/kinto.py/merges","archive_url":"https://api.github.com/repos/Kinto/kinto.py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kinto/kinto.py/downloads","issues_url":"https://api.github.com/repos/Kinto/kinto.py/issues{/number}","pulls_url":"https://api.github.com/repos/Kinto/kinto.py/pulls{/number}","milestones_url":"https://api.github.com/repos/Kinto/kinto.py/milestones{/number}","notifications_url":"https://api.github.com/repos/Kinto/kinto.py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kinto/kinto.py/labels{/name}","releases_url":"https://api.github.com/repos/Kinto/kinto.py/releases{/id}","created_at":"2015-06-18T11:24:34Z","updated_at":"2015-08-06T18:18:54Z","pushed_at":"2015-08-04T20:19:39Z","git_url":"git://github.com/Kinto/kinto.py.git","ssh_url":"git@github.com:Kinto/kinto.py.git","clone_url":"https://github.com/Kinto/kinto.py.git","svn_url":"https://github.com/Kinto/kinto.py","homepage":null,"size":296,"stargazers_count":2,"watchers_count":2,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"Kinto:master","ref":"master","sha":"68d32ae4e135eac17a4883e094b9f54df96d37aa","user":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"repo":{"id":37655419,"name":"kinto.py","full_name":"Kinto/kinto.py","owner":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kinto/kinto.py","description":"Python library to interact with Kinto","fork":false,"url":"https://api.github.com/repos/Kinto/kinto.py","forks_url":"https://api.github.com/repos/Kinto/kinto.py/forks","keys_url":"https://api.github.com/repos/Kinto/kinto.py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kinto/kinto.py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kinto/kinto.py/teams","hooks_url":"https://api.github.com/repos/Kinto/kinto.py/hooks","issue_events_url":"https://api.github.com/repos/Kinto/kinto.py/issues/events{/number}","events_url":"https://api.github.com/repos/Kinto/kinto.py/events","assignees_url":"https://api.github.com/repos/Kinto/kinto.py/assignees{/user}","branches_url":"https://api.github.com/repos/Kinto/kinto.py/branches{/branch}","tags_url":"https://api.github.com/repos/Kinto/kinto.py/tags","blobs_url":"https://api.github.com/repos/Kinto/kinto.py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kinto/kinto.py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kinto/kinto.py/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kinto/kinto.py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kinto/kinto.py/statuses/{sha}","languages_url":"https://api.github.com/repos/Kinto/kinto.py/languages","stargazers_url":"https://api.github.com/repos/Kinto/kinto.py/stargazers","contributors_url":"https://api.github.com/repos/Kinto/kinto.py/contributors","subscribers_url":"https://api.github.com/repos/Kinto/kinto.py/subscribers","subscription_url":"https://api.github.com/repos/Kinto/kinto.py/subscription","commits_url":"https://api.github.com/repos/Kinto/kinto.py/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kinto/kinto.py/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kinto/kinto.py/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kinto/kinto.py/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kinto/kinto.py/contents/{+path}","compare_url":"https://api.github.com/repos/Kinto/kinto.py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kinto/kinto.py/merges","archive_url":"https://api.github.com/repos/Kinto/kinto.py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kinto/kinto.py/downloads","issues_url":"https://api.github.com/repos/Kinto/kinto.py/issues{/number}","pulls_url":"https://api.github.com/repos/Kinto/kinto.py/pulls{/number}","milestones_url":"https://api.github.com/repos/Kinto/kinto.py/milestones{/number}","notifications_url":"https://api.github.com/repos/Kinto/kinto.py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kinto/kinto.py/labels{/name}","releases_url":"https://api.github.com/repos/Kinto/kinto.py/releases{/id}","created_at":"2015-06-18T11:24:34Z","updated_at":"2015-08-06T18:18:54Z","pushed_at":"2015-08-04T20:19:39Z","git_url":"git://github.com/Kinto/kinto.py.git","ssh_url":"git@github.com:Kinto/kinto.py.git","clone_url":"https://github.com/Kinto/kinto.py.git","svn_url":"https://github.com/Kinto/kinto.py","homepage":null,"size":296,"stargazers_count":2,"watchers_count":2,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kinto/kinto.py/pulls/3"},"html":{"href":"https://github.com/Kinto/kinto.py/pull/3"},"issue":{"href":"https://api.github.com/repos/Kinto/kinto.py/issues/3"},"comments":{"href":"https://api.github.com/repos/Kinto/kinto.py/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Kinto/kinto.py/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Kinto/kinto.py/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kinto/kinto.py/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Kinto/kinto.py/statuses/eac878230dd992eca1ecaf2bbbcbf4087a8f90e4"}}}}