Access self objects and decorator parameters within a decorator

前端 未结 0 752
情书的邮戳
情书的邮戳 2021-01-26 19:51

I have a decorator method within a class and I\'m trying to add parameters for when the method is called e.g:

@log(DEBUG=True)
def exmp_function():
    \'\'\'
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题