Replies: 2 comments
-
Hi, I'm glad you like Streamsync! As you mentioned, This would be easy to implement and definitely useful, so I'll open an issue. Thanks for suggesting this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
For cleanup, this was resolved in #41 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I've been exploring Streamsync (awesome tool, BTW!) and I found out that apparently
datetime.datetime
instances cannot be serialized and sent to the frontend.Minimal example
This causes the following error to appear:
Error
As far as I can tell, this is due to the serialization code not supporting
datetime.datetime
instancesBackground: I ran across this when trying to replicate Streamlit's starter tutorial in Streamsync. This tutorial has a Pandas DataFrame with a datetime column (it's a special Pandas datetime class, but it eventually inherits from Python's
datetime.datetime
)Adding support for this would let users display data that has timestamp-style columns, such as "created on", "event time" and such.
Is there any interest in letting users pass datetime instances to the FE? I don't see any issues or discussions mentioning it, but it may be because Streamsync is fairly new. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions