monitor.NotifyMe can not be used as an annotation decorator

Description

tried decorating a function definition and got an error:

1 2 3 4 5 ----> 1 @notifyMe(syn, retries=1) 2 def errorFunc(value): 3 raise ValueError("your value:%s sucks" % value) TypeError: notifyMe() takes at least 2 arguments (2 given)

Environment

None

Status

Assignee

Ziming Dong

Reporter

Ziming Dong

Labels

None

Validator

Larsson Omberg

Release Version History

None

Fix versions

Priority

Major