Skip to content

Commit

Permalink
Attempt import of Skip from Param
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Feb 26, 2024
1 parent b0c1ac9 commit 16a5c72
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions panel/param.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@
)
from param.reactive import rx

try:
from param import Skip
except Exception:
class Skip(RuntimeError):
"""
Exception that allows skipping an update for function-level updates.
"""

from .config import config
from .io import state
from .layout import (
Expand Down Expand Up @@ -112,10 +120,6 @@ def set_values(*parameterizeds, **param_values):
for parameterized, old_values in old:
parameterized.param.update(**old_values)

class Skip(RuntimeError):
"""
Exception that allows skipping an update for function-level updates.
"""

class Param(PaneBase):
"""
Expand Down

0 comments on commit 16a5c72

Please sign in to comment.