You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not enough to pass to after decorator only value, returned by decorated function. There can bee some logic, based on arguments of decorated function.
Of course, around can be used for this, but why should we care about manually calling origin fn?
It is not enough to pass to
after
decorator only value, returned by decorated function. There can bee some logic, based on arguments of decorated function.Of course,
around
can be used for this, but why should we care about manually calling origin fn?Should be something like this:
The text was updated successfully, but these errors were encountered: