Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eager argument to watch #562

Closed
ahuang11 opened this issue Jul 30, 2019 · 1 comment
Closed

eager argument to watch #562

ahuang11 opened this issue Jul 30, 2019 · 1 comment

Comments

@ahuang11
Copy link
Contributor

def callback(event):
    select.disabled = True
    button.disabled = True
    time.sleep(5)
    select.disabled = False
    button.disabled = False

select = pn.widgets.Select(options=['Just Testing'])
button = pn.widgets.Button(name='Process!')
button.on_click(callback)

pn.Column(select, button)

philippjfr commented:
It's down to this: holoviz/param#323
I think we need to add an eager argument to the watch mechanism, which ensures that this works.

@ahuang11
Copy link
Contributor Author

Moved to holoviz/param#350

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant