We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e67d23 commit d605c2bCopy full SHA for d605c2b
panel/custom.py
@@ -259,7 +259,7 @@ class CounterButton(pn.custom.ReactiveESM):
259
260
def __init__(self, **params):
261
super().__init__(**params)
262
- self._watching_esm = False
+ self._watching_esm = None
263
self._event__callbacks = defaultdict(list)
264
self._msg__callbacks = []
265
@@ -410,7 +410,7 @@ def _cleanup(self, root: Model | None = None) -> None:
410
self._watching_esm.set()
411
if self._watching_esm in state._watch_events:
412
state._watch_events.remove(self._watching_esm)
413
414
415
async def _watch_esm(self):
416
import watchfiles
0 commit comments