BREAKING: Refactor retry argument attributes #22
Labels
Stage: Next Release
Merged into the `next` branch for the next major release.
Type: Refactor
Refactoring existing code to improve long-term sustainability.
Mypy doesn't like that the retry argument attributes are defined dynamically when a class is instantiated, so it'll complain that they don't exist when a subclass developer is trying to modify them when overriding/extending the parser. If instead of having separate attributes per registered stage, we just had a
dict
where the keys are the stage names, mypy would be happy.The text was updated successfully, but these errors were encountered: