Is it possible to add a parameter to a function with a decorator in Python?

后端 未结 0 688
清酒与你
清酒与你 2020-12-18 03:15

So I tried to write a decorator function to secure the access to a function with a "password string" auth. The decorator function looks like this:

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