Jul-22-2017, 07:41 PM
(Jul-22-2017, 01:41 PM)ichabod801 Wrote: If I make a dummy class that just stores one instance attribute when getData is called, it works fine. I would expect the problem is in your classObject definition. Could be assigning to a class attribute by mistake?
The problem was in getData function. I used 3 lists in it, and I filled each of them using list.append(sth). No idea why, but when I declared these lists again in the function itself, everything started working perfectly.
Thanks a lot for answering!