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

Warn on errors thru rx updates #926

Open
ahuang11 opened this issue Mar 26, 2024 · 0 comments
Open

Warn on errors thru rx updates #926

ahuang11 opened this issue Mar 26, 2024 · 0 comments
Labels
TRIAGE User-submitted issue that hasn't been triaged yet. type-feature Feature request

Comments

@ahuang11
Copy link
Contributor

import datetime
import param
from param import rx

tz = rx("US/Eastern")
dt = rx(datetime.datetime.now)(tz)
display(dt)

tz.rx.value = "US/Western"

This doesn't work because it's a Python error, e.g. datetime.datetime.now(tz) doesn't work, but rx doesn't notify the user.

@ahuang11 ahuang11 added type-feature Feature request TRIAGE User-submitted issue that hasn't been triaged yet. labels Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TRIAGE User-submitted issue that hasn't been triaged yet. type-feature Feature request
Projects
None yet
Development

No branches or pull requests

1 participant