:class:.ScriptAuthorizer has a new parameter two_factor_callback that supplies
OTPs (One-Time Passcodes) when :meth:.ScriptAuthorizer.refresh is called.
Add a TooManyRequests exception.
2.0.0 (2021-02-23)
Added
Authorizer optionally takes a pre_refresh_callback keyword
argument. If provided, the function will called with the instance of
Authorizer prior to refreshing the access and refresh tokens.
Authorizer optionally takes a post_refresh_callback keyword
argument. If provided, the function will called with the instance of
Authorizer after refreshing the access and refresh tokens.
Changed
The refresh_token argument to Authorizer must now be passed by
keyword, and cannot be passed as a positional argument.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps prawcore from 1.5.0 to 2.1.0.
Changelog
Sourced from prawcore's changelog.
Commits
4e582b2
Merge pull request #113 from praw-dev/21bb0e005
Bump to 2.1.0d5784d3
Add TooManyRequests Exception (#112)437c2e4
Merge pull request #111 from MaybeNetwork/otp-2021535715c
Add two factor callback257cc6b
Merge pull request #110 from MaybeNetwork/uri-too-long93b2558
Add URITooLong exceptionbb0e007
Bump to 2.0.0f3824d4
Merge pull request #105 from praw-dev/callbacksbb0e002
Add pre/post refresh callbacksDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)