Closed pwrose closed 2 years ago
I'm thinking if all data shouldn't be serialized? What if you try to convert it with dumps? Idk if this make sense, sorry if it doesn't, but I'm struggling to find a good generic solution for this.
You think we should convert it always before calling this method add_graph_from_neo4j
, for example? Or do you have any input on what should we do here?
Thanks for opening the issue! Never thought about this before.
Ah, this issue was fixed by your https://github.com/cytoscape/ipycytoscape/pull/297, correct? Sorry for the confusion :)
Yes, the pr fixes the issue in a general way.
On Tue, Jan 18, 2022 at 11:28 AM Mariana Meireles @.***> wrote:
Ah, this issue was fixed by your PR, correct? Sorry for the confusion :)
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>
Bug report
Bug summary
If a node_attribute, e.g. a Date object, is not JSON serializable, I get the following error:
Code for reproduction
Actual outcome
Expected outcome
Version Info
import ipycytoscape; print(ipycytoscape.__version__)
) :