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

NULLs sometimes rendering as "None" and sometimes as "∅ null" due to string-casting fallback #658

Closed
tconbeer opened this issue Oct 4, 2024 Discussed in #655 · 0 comments · Fixed by #677
Closed
Labels
bug Something isn't working

Comments

@tconbeer
Copy link
Owner

tconbeer commented Oct 4, 2024

Discussed in #655

This is wrong:
https://github.com/tconbeer/textual-fastdatatable/blob/739a8eeccb8e6f9c01142bbf12cd658d1a0b0564/src/textual_fastdatatable/backend.py#L255

should be:

new_data = {k: [str(val) if val is not None else None for val in v] for k, v in data.items()}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant