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
instead of using global values, you could add these properties to the wrapper itself:
deftask_memory_decorator(func):
# you could wraps here toodefwrapper(*args, **kwargs):
func(*args, **kwargs)
wrapper.percent=process.memory_percent()
...
returnwrapper
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
instead of using global values, you could add these properties to the wrapper itself:
SNOW-936615: instead of using global values, you could add these properties to the wrapper itself:
Oct 10, 2023
Originally posted by @sfc-gh-mkeller in #1750 (comment)
The text was updated successfully, but these errors were encountered: