b5c692e1a3086661ee1bb9e2001ef7adedde6b82,freshdesk/python-lib/freshdesk_utils.py,FreshdeskConnector,generate_rows,#FreshdeskConnector#Any#Any#Any#Any#,30

Before Change


                            row["custom_field_%s" %k ] = v
                        del row["custom_field"]

                    yield row
                    nb +=1
            page += 1

After Change


                            row["custom_field_%s" %k ] = v
                        del row["custom_field"]

                    yield {k: json.dumps(v) if type(v) in [list,dict] else v for k,v in row.items()}
                    nb +=1
            page += 1
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: dataiku/dataiku-contrib
Commit Name: b5c692e1a3086661ee1bb9e2001ef7adedde6b82
Time: 2016-01-16
Author: jrouquie@example.com
File Name: freshdesk/python-lib/freshdesk_utils.py
Class Name: FreshdeskConnector
Method Name: generate_rows


Project Name: chakki-works/doccano
Commit Name: eb09eb97d28c918756c12a8960d5daa85d098abc
Time: 2019-03-06
Author: light.tree.1.13@gmail.com
File Name: app/server/api.py
Class Name: CSVHandler
Method Name: parse


Project Name: pantsbuild/pants
Commit Name: e77a650432097e3eeb867dfe4fec5235450414bf
Time: 2016-03-06
Author: cheister@gmail.com
File Name: src/python/pants/backend/graph_info/tasks/list_owners.py
Class Name: ListOwners
Method Name: console_output