Prior to this change, any downstream initializations of ABIType without specifying internalType=... in the constructor would raise the typing issue E: Missing named argument "internalType" for "ABIType" [call-arg]. Changing this to a keyword arg allows mypy to correctly detect that this field is not needed.
No functional change
How I did it
How to verify it
I was working downstream and monkeypatched this change, and observed that mypy stopped complaining
Checklist
[x] Passes all linting checks (pre-commit and CI jobs)
- [ ] New test cases have been added and are passing- [ ] Documentation has been updated
[x] PR title follows Conventional Commit standard (will be automatically included in the changelog)
What I did
Prior to this change, any downstream initializations of
ABIType
without specifyinginternalType=...
in the constructor would raise the typing issueE: Missing named argument "internalType" for "ABIType" [call-arg]
. Changing this to a keyword arg allows mypy to correctly detect that this field is not needed.No functional change
How I did it
How to verify it
I was working downstream and monkeypatched this change, and observed that mypy stopped complaining
Checklist
- [ ] New test cases have been added and are passing- [ ] Documentation has been updated