0c91ba4a50e58734553bfb00fad5a3abab8abe43,homeassistant/components/media_player/gpmdp.py,,request_configuration,#Any#Any#Any#Any#,26

Before Change


        return
    from websocket import create_connection
    websocket = create_connection((url), timeout=1)
    websocket.send("{"namespace": "connect", "method": "connect","
                   ""arguments": ["Home Assistant"]}")

    // pylint: disable=unused-argument
    def gpmdp_configuration_callback(callback_data):
        The actions to do when our configuration callback is called.

After Change


        return
    from websocket import create_connection
    websocket = create_connection((url), timeout=1)
    websocket.send(json.dumps({"namespace": "connect",
                               "method": "connect",
                               "arguments": ["Home Assistant"]}))

    // pylint: disable=unused-argument
    def gpmdp_configuration_callback(callback_data):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: home-assistant/home-assistant
Commit Name: 0c91ba4a50e58734553bfb00fad5a3abab8abe43
Time: 2016-08-23
Author: nkgilley@gmail.com
File Name: homeassistant/components/media_player/gpmdp.py
Class Name:
Method Name: request_configuration


Project Name: OpenMined/Grid
Commit Name: 00be4ae634832d8c39a2468c66349df964585a2c
Time: 2019-10-21
Author: ionesiojr@gmail.com
File Name: grid/websocket_client.py
Class Name: WebsocketGridClient
Method Name: download_model


Project Name: mailgyc/doudizhu
Commit Name: d13b23069e1dea5d89bc261e199ec4f97268dbd2
Time: 2020-02-16
Author: 4143964+mailgyc@users.noreply.github.com
File Name: doudizhu/apps/game/room.py
Class Name: Room
Method Name: on_game_over


Project Name: uuazed/numerapi
Commit Name: 80e4f15860b6b002f2dd3f420eaeff63e202eb2f
Time: 2017-11-18
Author: wolfgang@steitz.me
File Name: numerapi/numerapi.py
Class Name: NumerAPI
Method Name: upload_predictions