← Back to team overview

pyax team mailing list archive

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

 

Public bug reported:

In connection.py:

The following code fails:

        sobject_records, done, query_locator = self._unpackQueryResult(query_result)
        while done is False:
            records, done, query_locator = self._unpackQueryResult(query_result)
            sobject_records.extend(records)

The exception says:

sobject_records has no attribute "extend".

sobject_records is an instance of dict and dict cannot respond to
"extend" however from the code it appears the intent was to add the
contents of the records "dict" to the sobject_records "dict" and some
time ago I coded a type of dict object that knows how to do this by
using the "+" operator and so I will add my fix to your code so I can
proceed to get my work done.

Perhaps the developers of pyax might fix this bug at some point before
others notice it too.

** Affects: pyax
     Importance: Undecided
         Status: New

-- 
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