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
Deprecate what keyword of .param.watch_values as anyway the only allowed value is what='value'.
defwatch_values(self_, fn, parameter_names, what='value', onlychanged=True, queued=False, precedence=0):
""" Easier-to-use version of `watch` specific to watching for changes in parameter values. Only allows `what` to be 'value', and invokes the callback `fn` using keyword arguments <param_name>=<new_value> rather than with a list of Event objects. """ifprecedence<0:
raiseValueError("User-defined watch callbacks must declare ""a positive precedence. Negative precedences ""are reserved for internal Watchers.")
assertwhat=='value'
...
I'm not sure I ever used watch_values, even though it looks quite handy.
The text was updated successfully, but these errors were encountered:
Deprecate
what
keyword of.param.watch_values
as anyway the only allowed value iswhat='value'
.I'm not sure I ever used
watch_values
, even though it looks quite handy.The text was updated successfully, but these errors were encountered: