Python gurus, can I wrap a function in more than one decorator at the same time? On the same topic, can I wrap a decorator in another decorator ?
Asking for a friend...
@nerdeiro Yes, you can. Not sure if a decorator can be wrapped into another decorator, but for functions at least...
https://blog.teclado.com/python-how-to-use-multiple-decorators-on-one-function/
@nerdeiro Yes to both. Decorated decorators have a way of making your head hurt, though.