3 ms·
You can use the return value of some function as a decorator, as a way to avoid global state and tie the decorator to a given instance of your routing object. (
by wahnfrieden 15y ago
You can use the return value of some function as a decorator, as a way to avoid global state and tie the decorator to a given instance of your routing object. (I don't know flask, but this isn't a limitation of python)