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

chore: Future-proof Duration type error message test #3606

Merged
merged 1 commit into from
Sep 22, 2024

Conversation

MarcoGorelli
Copy link
Contributor

In Narwhals we'd like to change the dtype repr to show the time unit (and, for Datetimes, the time zone)

This doesn't really have an impact on users, they'd just see

Field "timedelta" has type "Duration(time_unit='ns')" which is not supported by Altair

instead of

Field "timedelta" has type "Duration" which is not supported by Altair

This PR just future-proofs the Altair test

Copy link
Contributor

@binste binste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for proactively taking care of it, really appreciate that!

@binste binste merged commit fa420f3 into vega:main Sep 22, 2024
13 checks passed
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

Successfully merging this pull request may close these issues.

2 participants