Passing arguments to a decorator in a class

Thank you Ben, this solved my problem. However, I have to admit that even though I implemented this in my code and it works as desired, I struggle to wrap my head around it with this many layers of decorators. Therefore I’ve used the other solution posted in this thread.

Thank you, excellent solution. I’ve ultimately decided to use this in my code.