You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Confusing error message for a missing classmethod decorator #11791
Activity
sobolevn commentedon Dec 18, 2021
This works for me on latest
masterwhen I remove@uniquedecorator:sobolevn commentedon Dec 18, 2021
No, I was wrong. It depends on the cache.

sobolevn commentedon Dec 18, 2021
This is very hard to solve, but I've got a working prototype. I am going to finish it tomorrow.

wrobell commentedon Dec 19, 2021
@sobolevn Thanks for the fix.
I wonder if it is also possible to improve the main error message?
Replace
with
?
sobolevn commentedon Dec 19, 2021
I think it is better to keep the existing format. It is way more informative.
When it works correctly, it shows everything we need to know.
wrobell commentedon Dec 19, 2021
Agreed on the format. Still, the error message is going to be confusing.
Please consider:
then
Without
classmethoddecorator:The error message suggests I should change
ColorIndextoAny, while it is missingclassmethoddecorator.GabrieleCalarota commentedon Jul 18, 2022
Any updates on this?