I am new to Flask and I am trying to use a decorator to set a category number (1 to 5) for various endpoints. The value set needs to be accessible to a logging function I have d