-
|
Hello, is it possible to make a type-safe |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hi @0x1618! Could you try installing the development version, and see if that helps? To answer the second part of your question, you can absolutely use your own decorators, or any other Python paradigm, on responder methods, as long as they retain the naming pattern and stay callable. |
Beta Was this translation helpful? Give feedback.
Hi @0x1618!
We have already improved the typing of hooks somewhat using
ParamSpecandConcatenate, but the improvement is not a part of any stable release yet.Could you try installing the development version, and see if that helps?
To answer the second part of your question, you can absolutely use your own decorators, or any other Python paradigm, on responder methods, as long as they retain the naming pattern and stay callable.