How can I make a chain of function decorators in Python? – Stack Overflow