Skip to content

How to resolve deprecation warning about decorators/route handlers #3551

Discussion options

You must be logged in to vote

Hey @bunny-therapist, thanks for reporting this! It seems like this is an overzealous warning, you're not doing everything wrong here.

It is this code which produces the warning:

class _SubclassWarningMixin:

It was intended to warn if you subclass one of the decorators, but we seem to have forgotten to add an exception for the handler classes themselves. Would you mind opening a proper issue for this so we can track and fix it?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by bunny-therapist
Comment options

You must be logged in to vote
1 reply
@bunny-therapist
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants