6341fd65ed9f6194ccec3db2128521c9c1952e55,modules/timeline/timeline.py,Module,run,#Module#,45

Before Change


                    // Example of printing the number of profiles in the Database every second
                    data = message["data"]
                    data = json.loads(data)
                    self.print("Data: {}".format(data))

        except KeyboardInterrupt:
            return True

After Change


                    // Example of printing the number of profiles in the Database every second
                    mdata = message["data"]
                    // Convert from json to dict
                    mdata = json.loads(mdata)
                    profileid = mdata["profileid"]
                    twid = mdata["twid"]
                    // Get flow as a json
                    flow = mdata["flow"]
                    // Convert flow to a dict
                    flow = json.loads(flow)
                    // Process the flow
                    self.process_flow(profileid, twid, flow)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: stratosphereips/StratosphereLinuxIPS
Commit Name: 6341fd65ed9f6194ccec3db2128521c9c1952e55
Time: 2019-04-06
Author: eldraco@gmail.com
File Name: modules/timeline/timeline.py
Class Name: Module
Method Name: run


Project Name: stratosphereips/StratosphereLinuxIPS
Commit Name: 6341fd65ed9f6194ccec3db2128521c9c1952e55
Time: 2019-04-06
Author: eldraco@gmail.com
File Name: modules/timeline/timeline.py
Class Name: Module
Method Name: run


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: d262a0d3c567cf0543760bd238f67411acb697c2
Time: 2020-02-26
Author: 11652964@qq.com
File Name: QUANTAXIS/QAFetch/QAhuobi.py
Class Name:
Method Name: QA_fetch_huobi_symbols


Project Name: OpenMined/Grid
Commit Name: 2708ccddd59bc7be358dc8ae8297dce26f545741
Time: 2019-10-04
Author: ionesiojr@gmail.com
File Name: grid/websocket_client.py
Class Name: WebsocketGridClient
Method Name: run_remote_inference