Skip to content

Conversation

@PeterCardenas
Copy link
Contributor

@PeterCardenas PeterCardenas commented Apr 5, 2025

Problem

I was getting a type error with some old code using the attr keyword argument of the fail method. According to the function signature, the attr does exist, but it's deprecated.

Solution

Add the missing keyword arguments to the fail and mark them as deprecated. Additionally we add an info diagnostic marked as deprecated to these usages of this parameter.

would also appreciate any feedback on the pull request 🙏 i did see that there was a comment on not applying DRY for function params so would like to help if appropriate here

@withered-magic
Copy link
Owner

Thanks for putting this up! Just started working on this project again but will make sure to get this merged soon!

@withered-magic withered-magic force-pushed the support-full-fail-function-signature branch from f634761 to e2be922 Compare June 29, 2025 05:26
@withered-magic withered-magic merged commit c0a8c90 into withered-magic:main Jun 29, 2025
0 of 2 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.

2 participants