Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slightly failing after max tries with raise_on_giveup=False erroring #144

Open
kannor opened this issue Dec 7, 2021 · 0 comments
Open

Comments

@kannor
Copy link

kannor commented Dec 7, 2021

TypeError: expo() got an unexpected keyword argument 'raise_on_giveup'

@backoff.on_exception(
    backoff.expo,
    (ConnectionError,),
    max_tries=3,
    raise_on_giveup=False,
)
async def _create_order():
    created_order = await some_callback()
    return created_order
@kannor kannor changed the title Slightly failing after max tries with raise_on_giveup=False breaking Slightly failing after max tries with raise_on_giveup=False erroring Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant