← Back to team overview

pyax team mailing list archive

[Bug 317723] Re: pyax fails to return when result set contains a lot of data

 

Looking at my code, and knowing what I intended, sobject_records being
returned from _unpackQueryResult should always be a list.

I'm not sure what exactly is causing this retval to be a scalar of a
single record instead of a list of one record - if it's the size of the
return payload or something else.

I don't know offhand how to replicate the problem reliably to create a
failing test that I can then fix, but my initial reaction would be to
use my "listify" utility function on this value before returning it from
_unpackQueryResult.

listify is a generalised function that does what the suggestion in your
comment above does.

** Changed in: pyax
   Importance: Undecided => Medium
     Assignee: (unassigned) => Kevin Shuk (surf)
       Status: New => Confirmed

-- 
pyax fails to return when result set contains a lot of data
https://bugs.launchpad.net/bugs/317723
You received this bug notification because you are a member of pyax
Developers, which is the registrant for pyax.



Follow ups

References