On Fri, Dec 15, 2017 at 6:44 AM, Brian Herman wrote:
> However when I add the arguments decorator I cannot access the self of the
> object that calls the decorator.
>
> def decorator_with_arguments(arg1, arg2):
> def decorator(self, method):
> """ This method is a decorator to get a se
I would like to access the instance variable of a class using a decorator
with arguments:
I used to do with with a decorator without arguments:
def decorator(method):
""" This method is a decorator to get a security token each time you
have a service call. """
def wrapper(self, *args, **kw