Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Storing objects in dcc.Store()

$
0
0

Hello!

Is there a way to store an object within a dcc.Store()? I have several serial devices that are hit/miss working with Dash, and only Dash. I need them to put data into a csv so the Dash graphs will update in real time. But I am having issues with them sometimes not connecting, or not staying connected keeping the object creation within my main App.py file.

I think storing these somewhere else could fix this, but I am struggling with a number of errors when trying to return the serial objects in a callback.

If anyone has any other ideas on how to do this, I am open to hearing as long as I can perform methods on the objects when certain booleanswitches are toggled.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images