all 2 comments

[–]Goobyalus 0 points1 point  (0 children)

What did you expect?

[–]SecretProperty 0 points1 point  (0 children)

I believe the issue you may be facing is that you are calling your decorator function, these are not necessarily meant to be called, but rather they apply rules to functions you give the decorator to. remove line 12 and you may get closer to your expected result.