{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/jd/tenacity/pulls/13","id":81886169,"html_url":"https://github.com/jd/tenacity/pull/13","diff_url":"https://github.com/jd/tenacity/pull/13.diff","patch_url":"https://github.com/jd/tenacity/pull/13.patch","issue_url":"https://api.github.com/repos/jd/tenacity/issues/13","number":13,"state":"open","locked":false,"title":"Add  wait_combine_stepped()","user":{"login":"bodenr","id":2048526,"avatar_url":"https://avatars.githubusercontent.com/u/2048526?v=3","gravatar_id":"","url":"https://api.github.com/users/bodenr","html_url":"https://github.com/bodenr","followers_url":"https://api.github.com/users/bodenr/followers","following_url":"https://api.github.com/users/bodenr/following{/other_user}","gists_url":"https://api.github.com/users/bodenr/gists{/gist_id}","starred_url":"https://api.github.com/users/bodenr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bodenr/subscriptions","organizations_url":"https://api.github.com/users/bodenr/orgs","repos_url":"https://api.github.com/users/bodenr/repos","events_url":"https://api.github.com/users/bodenr/events{/privacy}","received_events_url":"https://api.github.com/users/bodenr/received_events","type":"User","site_admin":false},"body":"One PR I had in retrying [1] proposed to support the notion of\r\n\"stepped wait\". This patch adds stepping support by introducing\r\na new combined step function that wraps 1 or more wait fns to\r\nproduced a \"stepped queue\" of wait fns.\r\n\r\nThis approach solves [1] and also is reusable.\r\n\r\n[1] https://github.com/rholder/retrying/pull/51","created_at":"2016-08-18T20:53:32Z","updated_at":"2016-08-18T20:53:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jd/tenacity/pulls/13/commits","review_comments_url":"https://api.github.com/repos/jd/tenacity/pulls/13/comments","review_comment_url":"https://api.github.com/repos/jd/tenacity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jd/tenacity/issues/13/comments","statuses_url":"https://api.github.com/repos/jd/tenacity/statuses/df8e848210b7e0f5a51ecf4d10ad889945365aaf","head":{"label":"bodenr:master","ref":"master","sha":"df8e848210b7e0f5a51ecf4d10ad889945365aaf","user":{"login":"bodenr","id":2048526,"avatar_url":"https://avatars.githubusercontent.com/u/2048526?v=3","gravatar_id":"","url":"https://api.github.com/users/bodenr","html_url":"https://github.com/bodenr","followers_url":"https://api.github.com/users/bodenr/followers","following_url":"https://api.github.com/users/bodenr/following{/other_user}","gists_url":"https://api.github.com/users/bodenr/gists{/gist_id}","starred_url":"https://api.github.com/users/bodenr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bodenr/subscriptions","organizations_url":"https://api.github.com/users/bodenr/orgs","repos_url":"https://api.github.com/users/bodenr/repos","events_url":"https://api.github.com/users/bodenr/events{/privacy}","received_events_url":"https://api.github.com/users/bodenr/received_events","type":"User","site_admin":false},"repo":{"id":66026274,"name":"tenacity","full_name":"bodenr/tenacity","owner":{"login":"bodenr","id":2048526,"avatar_url":"https://avatars.githubusercontent.com/u/2048526?v=3","gravatar_id":"","url":"https://api.github.com/users/bodenr","html_url":"https://github.com/bodenr","followers_url":"https://api.github.com/users/bodenr/followers","following_url":"https://api.github.com/users/bodenr/following{/other_user}","gists_url":"https://api.github.com/users/bodenr/gists{/gist_id}","starred_url":"https://api.github.com/users/bodenr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bodenr/subscriptions","organizations_url":"https://api.github.com/users/bodenr/orgs","repos_url":"https://api.github.com/users/bodenr/repos","events_url":"https://api.github.com/users/bodenr/events{/privacy}","received_events_url":"https://api.github.com/users/bodenr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bodenr/tenacity","description":null,"fork":true,"url":"https://api.github.com/repos/bodenr/tenacity","forks_url":"https://api.github.com/repos/bodenr/tenacity/forks","keys_url":"https://api.github.com/repos/bodenr/tenacity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bodenr/tenacity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bodenr/tenacity/teams","hooks_url":"https://api.github.com/repos/bodenr/tenacity/hooks","issue_events_url":"https://api.github.com/repos/bodenr/tenacity/issues/events{/number}","events_url":"https://api.github.com/repos/bodenr/tenacity/events","assignees_url":"https://api.github.com/repos/bodenr/tenacity/assignees{/user}","branches_url":"https://api.github.com/repos/bodenr/tenacity/branches{/branch}","tags_url":"https://api.github.com/repos/bodenr/tenacity/tags","blobs_url":"https://api.github.com/repos/bodenr/tenacity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bodenr/tenacity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bodenr/tenacity/git/refs{/sha}","trees_url":"https://api.github.com/repos/bodenr/tenacity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bodenr/tenacity/statuses/{sha}","languages_url":"https://api.github.com/repos/bodenr/tenacity/languages","stargazers_url":"https://api.github.com/repos/bodenr/tenacity/stargazers","contributors_url":"https://api.github.com/repos/bodenr/tenacity/contributors","subscribers_url":"https://api.github.com/repos/bodenr/tenacity/subscribers","subscription_url":"https://api.github.com/repos/bodenr/tenacity/subscription","commits_url":"https://api.github.com/repos/bodenr/tenacity/commits{/sha}","git_commits_url":"https://api.github.com/repos/bodenr/tenacity/git/commits{/sha}","comments_url":"https://api.github.com/repos/bodenr/tenacity/comments{/number}","issue_comment_url":"https://api.github.com/repos/bodenr/tenacity/issues/comments{/number}","contents_url":"https://api.github.com/repos/bodenr/tenacity/contents/{+path}","compare_url":"https://api.github.com/repos/bodenr/tenacity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bodenr/tenacity/merges","archive_url":"https://api.github.com/repos/bodenr/tenacity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bodenr/tenacity/downloads","issues_url":"https://api.github.com/repos/bodenr/tenacity/issues{/number}","pulls_url":"https://api.github.com/repos/bodenr/tenacity/pulls{/number}","milestones_url":"https://api.github.com/repos/bodenr/tenacity/milestones{/number}","notifications_url":"https://api.github.com/repos/bodenr/tenacity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bodenr/tenacity/labels{/name}","releases_url":"https://api.github.com/repos/bodenr/tenacity/releases{/id}","deployments_url":"https://api.github.com/repos/bodenr/tenacity/deployments","created_at":"2016-08-18T19:52:28Z","updated_at":"2016-08-18T19:52:29Z","pushed_at":"2016-08-18T20:52:03Z","git_url":"git://github.com/bodenr/tenacity.git","ssh_url":"git@github.com:bodenr/tenacity.git","clone_url":"https://github.com/bodenr/tenacity.git","svn_url":"https://github.com/bodenr/tenacity","homepage":null,"size":141,"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":"jd:master","ref":"master","sha":"5b4fc5f0ee37a4e8c831c2c8c36025651881d275","user":{"login":"jd","id":2644,"avatar_url":"https://avatars.githubusercontent.com/u/2644?v=3","gravatar_id":"","url":"https://api.github.com/users/jd","html_url":"https://github.com/jd","followers_url":"https://api.github.com/users/jd/followers","following_url":"https://api.github.com/users/jd/following{/other_user}","gists_url":"https://api.github.com/users/jd/gists{/gist_id}","starred_url":"https://api.github.com/users/jd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jd/subscriptions","organizations_url":"https://api.github.com/users/jd/orgs","repos_url":"https://api.github.com/users/jd/repos","events_url":"https://api.github.com/users/jd/events{/privacy}","received_events_url":"https://api.github.com/users/jd/received_events","type":"User","site_admin":false},"repo":{"id":65468547,"name":"tenacity","full_name":"jd/tenacity","owner":{"login":"jd","id":2644,"avatar_url":"https://avatars.githubusercontent.com/u/2644?v=3","gravatar_id":"","url":"https://api.github.com/users/jd","html_url":"https://github.com/jd","followers_url":"https://api.github.com/users/jd/followers","following_url":"https://api.github.com/users/jd/following{/other_user}","gists_url":"https://api.github.com/users/jd/gists{/gist_id}","starred_url":"https://api.github.com/users/jd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jd/subscriptions","organizations_url":"https://api.github.com/users/jd/orgs","repos_url":"https://api.github.com/users/jd/repos","events_url":"https://api.github.com/users/jd/events{/privacy}","received_events_url":"https://api.github.com/users/jd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jd/tenacity","description":null,"fork":false,"url":"https://api.github.com/repos/jd/tenacity","forks_url":"https://api.github.com/repos/jd/tenacity/forks","keys_url":"https://api.github.com/repos/jd/tenacity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jd/tenacity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jd/tenacity/teams","hooks_url":"https://api.github.com/repos/jd/tenacity/hooks","issue_events_url":"https://api.github.com/repos/jd/tenacity/issues/events{/number}","events_url":"https://api.github.com/repos/jd/tenacity/events","assignees_url":"https://api.github.com/repos/jd/tenacity/assignees{/user}","branches_url":"https://api.github.com/repos/jd/tenacity/branches{/branch}","tags_url":"https://api.github.com/repos/jd/tenacity/tags","blobs_url":"https://api.github.com/repos/jd/tenacity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jd/tenacity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jd/tenacity/git/refs{/sha}","trees_url":"https://api.github.com/repos/jd/tenacity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jd/tenacity/statuses/{sha}","languages_url":"https://api.github.com/repos/jd/tenacity/languages","stargazers_url":"https://api.github.com/repos/jd/tenacity/stargazers","contributors_url":"https://api.github.com/repos/jd/tenacity/contributors","subscribers_url":"https://api.github.com/repos/jd/tenacity/subscribers","subscription_url":"https://api.github.com/repos/jd/tenacity/subscription","commits_url":"https://api.github.com/repos/jd/tenacity/commits{/sha}","git_commits_url":"https://api.github.com/repos/jd/tenacity/git/commits{/sha}","comments_url":"https://api.github.com/repos/jd/tenacity/comments{/number}","issue_comment_url":"https://api.github.com/repos/jd/tenacity/issues/comments{/number}","contents_url":"https://api.github.com/repos/jd/tenacity/contents/{+path}","compare_url":"https://api.github.com/repos/jd/tenacity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jd/tenacity/merges","archive_url":"https://api.github.com/repos/jd/tenacity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jd/tenacity/downloads","issues_url":"https://api.github.com/repos/jd/tenacity/issues{/number}","pulls_url":"https://api.github.com/repos/jd/tenacity/pulls{/number}","milestones_url":"https://api.github.com/repos/jd/tenacity/milestones{/number}","notifications_url":"https://api.github.com/repos/jd/tenacity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jd/tenacity/labels{/name}","releases_url":"https://api.github.com/repos/jd/tenacity/releases{/id}","deployments_url":"https://api.github.com/repos/jd/tenacity/deployments","created_at":"2016-08-11T12:44:02Z","updated_at":"2016-08-16T09:50:10Z","pushed_at":"2016-08-18T20:53:32Z","git_url":"git://github.com/jd/tenacity.git","ssh_url":"git@github.com:jd/tenacity.git","clone_url":"https://github.com/jd/tenacity.git","svn_url":"https://github.com/jd/tenacity","homepage":null,"size":141,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jd/tenacity/pulls/13"},"html":{"href":"https://github.com/jd/tenacity/pull/13"},"issue":{"href":"https://api.github.com/repos/jd/tenacity/issues/13"},"comments":{"href":"https://api.github.com/repos/jd/tenacity/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/jd/tenacity/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/jd/tenacity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jd/tenacity/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/jd/tenacity/statuses/df8e848210b7e0f5a51ecf4d10ad889945365aaf"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":24,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"bodenr"}}