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
Right now, syntax warning is generated with the following code.
@cacheddefexpensive_function():
...
However, the use of @cached in this context can be useful in some contexts. Example: @cached does effectively the same thing with significantly less code as the following construct using a global variable:
Right now, syntax warning is generated with the following code.
However, the use of
@cached
in this context can be useful in some contexts. Example:@cached
does effectively the same thing with significantly less code as the following construct using a global variable:Can this syntax warning be configurable and/or removed?
The text was updated successfully, but these errors were encountered: