Comment 5 for bug 670358

Revision history for this message
Seif Lotfy (seif) wrote :

OK I gave it more thought and I think Markus's idea makes a lot of sense.
This will allow us to even later work with more "data_types", so if for example geo-location extension becomes officially supported we can shoot out the locations as a results. having a an array of dicts in data will allow us to expand and experiment more with the fields.
Another example would be that data would look like
data = [
            data_1 = {
                            "relative_count" : "0.6",
                            "absolute count" : "1234",
                            "owner" : "seif",
                           }
           ]

I am giving +1 for Markus's idea