[web2py] Re: as_list AttributeError: 'dict' object has no attribute 'myLabel'

2016-09-12 Thread Anthony
Or if you ultimately do need a list of dictionaries, call .as_list() after first creating labelList. On Monday, September 12, 2016 at 7:32:03 AM UTC-4, Niphlod wrote: > > as list returns a proper dictionary, not a list of Row objects. At this > point, as_list() in your code is superflous. But if

[web2py] Re: as_list AttributeError: 'dict' object has no attribute 'myLabel'

2016-09-12 Thread Niphlod
as list returns a proper dictionary, not a list of Row objects. At this point, as_list() in your code is superflous. But if you want to use it, you then have to access "myLabel" as row['myLabel'] On Monday, September 12, 2016 at 10:11:46 AM UTC+2, Annet wrote: > > I have the following query: > >