other-emerald•4y ago
Display multiple output
My current actor only outputs one result from a list of inputs. I'm not sure what else I need to add to my code for all results to get displayed. Here's what I have for my output:
4 Replies
add
for loop or try to convert book to json with i.e. pip jsonpickle, looks like client handles your data as a single objectother-emeraldOP•4y ago
i seem to be getting just one result still. maybe my code isn't processing my input like i want it to. i noticed it always prints the last item. here's my input code
You need to pass a list into
push_items. So just print what it is before getting pushedother-emeraldOP•4y ago
i figured it out. i needed to indent the body of my code 😅 thank you for your help