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
Exception in <jupyter_0> line 1:
persistent_notification.create("foo")
^
TypeError: service persistent_notification.create takes only keyword arguments
The following code fails with an unhelpful exception:
The correct code is
persistent_notification.create(message="foo")
but the error message doesn't hint at this at all.PyScript version: 1.0.0 (eb4dde9)
(Thanks for pyscript, it's a very nice way to write automations and data processing services.)
The text was updated successfully, but these errors were encountered: