Open duane-space opened 1 year ago
Realized I could gain some insight via developer tools.
Second task: (dictionary case)
vendor-a8602ee1.js:38 Uncaught TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>)
Third task: (string case)
vendor-a8602ee1.js:40 Error: loadData only accepts array of objects or array of arrays (string given)
hi thanks for report this issue, indeed the data store functionality is not well defined/documented today. I only implemented the case in which the output of a task is a pandas DataFrame and in all other cases I try to json serialize the data, probably that doesn't alway work...
So this could be an occasion to improve the task view feature... what would you expect from plombery? :) to see the data in a json viewer? in a table? to plot a chart?
Hey - thanks for the response!
Tthere could be a lot of routes to go down, and some user configuration might be necessary to get the most out of it! Besides the error handling issue, I think a minimal default functionality should probably be something like:
Maybe embedding something like graphic walker could be quite powerful? https://github.com/Kanaries/graphic-walker
Or pivot table? https://react-pivottable.js.org/
yes, makes sense to me, aside from the default data display behavior I'll add some helper function to write and read output data from tasks, also because today the data is stored into a file and it's not always the best solution... moreover someone may not be interested into storing task output data at all
wow I love graphic walker, I'll check how I can integrate it in plombery, thanks for the hint!!
First off, thanks for plombery! It's quite neat and also easy to get started with compared to alternatives. Excited to see where it goes. I have a flow with 3 tasks:
The first returns a list of some class objects The second returns a dictionary The third returns a (filepath like) string
For the first task, if I click to view the 'data' from the web ui, it shows me a table indicating the length of the list, but nothing about the contents (probably the expected behavior)
However, I can't view the data for either the second or third tasks. For both, when I click to view the data, I get a blank white page and to get the UI to load again I need to reload the page. I see this in the terminal from which I ran plombery: