Skip to content

Conversation

jmgate
Copy link
Collaborator

@jmgate jmgate commented Jul 3, 2024

Type: Task

Description

A collection of breaking changes to go into the next major release.

Related Issues/PRs

Contains #40.

Motivation

Just so we don't bump the major version a lot all at once.

jmgate added 2 commits July 3, 2024 16:38
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 have a `dict`` where the keys
are the stage names, mypy is happy.

Note that this is a breaking change, as it changes how subclass
developers customize the parser.
…ributes

refactor!: Retry argument attributes
@jmgate jmgate self-assigned this Jul 3, 2024
Copy link

codecov bot commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (bf9017a) to head (a06b7bf).

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #44   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          180       186    +6     
  Branches        21        21           
=========================================
+ Hits           180       186    +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jmgate jmgate marked this pull request as draft July 8, 2024 13:24
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.

1 participant