82d7eb54aef2e27c036413b4205bdb211a8dab0f,functions/utils.py,ZonalThresholdsTable,_queryFeatureService,#ZonalThresholdsTable#Any#Any#Any#,139

Before Change


                attrJO = featureJO.get("attributes", None)
                if attrJO is not None:
                    id = attrJO.get(self.idField, None)
                    if id:
                        minValue = attrJO.get(self.minField, None)
                        maxValue = attrJO.get(self.maxField, None)
                        outValue = attrJO.get(self.outField, None)
                        self._addThreshold(T, id, (minValue, maxValue, outValue))

After Change


                    A = []
                    for z in self.attribList:
                        A = A + [attrJO.get(z, None)]
                    self._addAttributes(T, attrJO.get(self.idField, None), tuple(A))
        return T

    def _constructWhereClause(self, idList=[], where=None):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Esri/raster-functions
Commit Name: 82d7eb54aef2e27c036413b4205bdb211a8dab0f
Time: 2016-02-08
Author: akferoz@esri.com
File Name: functions/utils.py
Class Name: ZonalThresholdsTable
Method Name: _queryFeatureService


Project Name: pantsbuild/pants
Commit Name: a1696c815774552ee14e8df30f5636bb97c2b9e9
Time: 2018-07-13
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/python/tasks/wrapped_pex.py
Class Name: WrappedPEX
Method Name: run


Project Name: okfn-brasil/serenata-de-amor
Commit Name: e4d5b98f9d2ef79279300d1074cbaacde8e816dc
Time: 2016-11-20
Author: cuducos@gmail.com
File Name: src/fetch_sex_places.py
Class Name:
Method Name: sex_places_neraby