pyTigerGraph runInstalledQuery returns different results than Query from Studio

I have an installed query that returns this json in the browser:

“attributes”: {
@criticalCount”: 0,
@hazardCount”: 5,
@majorCount”: 4,
@maxHazardStatus”: “Minor”,
@maxHazardWHC”: 20.1,
@minorCount”: 1,
“frameId”: “49.0”,
},
“v_id”: “49.0”,
“v_type”: “Frame”
},

When I use the runInstalledQuery from a pyTigerGraph connection I get:

{
‘v_id’:‘49.0’,
‘v_type’:‘Frame’,
‘attributes’:{
‘frameId’:‘49.0’,
@minorCount’:1,
@majorCount’:4,
@criticalCount’:0,
@hazardCount’:5,
@maxHazardWHC’:0,
@maxHazardStatus’:‘Minor’
}
}

The Browser one from Graph Studio is the correct data.

Any ideas?

Frank

Hi Frank, thanks for asking. The two seem to contain the same information but the ordering of fields are different. When you say correct, do you expect a specific ordering of the fields?

If you notice, the value for @maxHazardWHC is different.