Skip to content

Simplify Retry subclassing#42

Merged
will-ockmore merged 1 commit intowill-ockmore:mainfrom
xairos:simplify-retry-subclassing
Oct 7, 2025
Merged

Simplify Retry subclassing#42
will-ockmore merged 1 commit intowill-ockmore:mainfrom
xairos:simplify-retry-subclassing

Conversation

@xairos
Copy link
Contributor

@xairos xairos commented Sep 30, 2025

Just submitting a code change that would resolve #41!

In short, this would allow easier subclassing of the Retry class, because increment() doesn't also need to be overridden.

Copy link
Owner

@will-ockmore will-ockmore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great 👏

@will-ockmore will-ockmore merged commit 4a6b3c8 into will-ockmore:main Oct 7, 2025
5 checks passed
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.

Retry.increment() does not preserve subclass type, preventing method overrides

2 participants