Improve retry configuration and remove yfinance dependency - #4
Merged
Conversation
shackmann
requested review from
DRMetaplectic,
j1z0 and
mariusvilkas
as code owners
August 1, 2026 20:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Low Risk
Changes are limited to default transport retry behavior and optional notebook packaging; no auth or API contract changes.
Overview
HTTP retry defaults are tuned for DataRobot deployments:
max_attemptsgoes from 10 to 20, and 470 is added to the retriable status codes so the client can wait through custom-model stop/warm-up windows after a deployment restart. The same values appear inRetryConfig,config.sample.yaml, and the README transport example.The
notebooksoptional extra no longer pulls inyfinance—onlypandasremains.forecast_trading.ipynb(Yahoo Finance / Kelly trading demo) is removed, andtests/test_notebooks.pyno longer expects that notebook in the catalog.uv.lockis refreshed to drop the yfinance dependency tree.Reviewed by Cursor Bugbot for commit 137902a. Bugbot is set up for automated code reviews on this repo. Configure here.