Skip to content

fix: revert default number of retries to 0#16

Merged
zvikagart merged 2 commits intocodeocean:mainfrom
bjhardcastle:fix--revert-default-number-of-retries
Dec 31, 2024
Merged

fix: revert default number of retries to 0#16
zvikagart merged 2 commits intocodeocean:mainfrom
bjhardcastle:fix--revert-default-number-of-retries

Conversation

@bjhardcastle
Copy link
Contributor

#15 added an option for custom number of retries, however it also changed the default number of retries from 0 to 3 (details on the PR).

This PR:

  • reverts the default number of retries back to 0
  • adds int as a valid type on the retries field
    • Retry, int and None are all valid so Optional[...] is still technically correct, but the behavior for None is somewhat surprising

This might not be deemed necessary - please feel free to close it.

@zvikagart zvikagart merged commit 9eef8f6 into codeocean:main Dec 31, 2024
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

Successfully merging this pull request may close these issues.

2 participants