This is the object:
mylist = Rep().all().fetch(10)
More information here.
Thanks.
UPDATE4
The following code displays the lists:
Rep().replist = L
Rep().put()
query = Rep.all()
for result in query:
self.response.out.write(result.replist)
like this:
[u'a', u'b'][u'a', u'b'][u'a', u'b']
Is there any way I can take one of the lists as a list
not an object and apply list operations to it? Thanks.
EDIT3
@RexE: I tried
% for i in mylist:
${i.replist}
% endfor
but it prints the empty list like this: []
I also tried:
% for i in range(len(mylist)):
% for item in mylist:
${item.replist}
% endfor
% endfor
But that prints more empty lists.
[] [] [] []
EDIT2
% for i in list(mylist):
${i}
% endfor
returns the object too: <__main__.Rep object at 0x06F629F0>
EDİT
This is the loop I've been trying:
% for i in mylist:
${i}
% endfor
This is the result:
<__main__.Rep object at 0x06BCFDB0>