Skip to content
Discussion options

You must be logged in to vote

Hi @0x1618!
We have already improved the typing of hooks somewhat using ParamSpec and Concatenate, but the improvement is not a part of any stable release yet.

Could you try installing the development version, and see if that helps?

$ pip install git+https://github.com/falconry/falcon/

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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@0x1618
Comment options

@vytas7
Comment options

@0x1618
Comment options

Answer selected by 0x1618
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