def __init__(self, signature, numargs, kwargs): """Constructor Arguments: signature -- string of the method/function to advise numargs -- string to represent the number of possible argument for this advise kwargs -- list of possible keyword arguments, possible values: ["*"], ["4"], ["apple","banana"] """ AOPWrapper.__init__(self, signature, numargs, kwargs) self.setAround(self.intercept)
def __init__(self, signature, numargs, kwargs): AOPWrapper.__init__(self, signature, numargs, kwargs) self.setBefore(self.before) self.setAfter(self.after) self.setAround(self.around)