41a4175456aba272d9b49c8576c705b1faad34c4,lib/streamlit/proxy/LocalWebSocket.py,LocalWebSocket,open,#LocalWebSocket#,35

Before Change


        self._report_name = urllib.parse.unquote_plus(self._report_name)
        self._connection = None

        LOGGER.info("Local websocket opened for "{}/{}"".format(self._local_id, self._report_name))

    def on_message(self, message):
        // LOGGER.debug(repr(message))

After Change


        self._report_name = args[1]
        self._report_name = urllib.parse.unquote_plus(self._report_name)
        self._connection = None
        LOGGER.info(f"Local websocket opened for "{self._report_name}"")

    @Proxy.stop_proxy_on_exception
    def on_message(self, message):
        // LOGGER.debug(repr(message))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

Instances


Project Name: streamlit/streamlit
Commit Name: 41a4175456aba272d9b49c8576c705b1faad34c4
Time: 2018-06-18
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/proxy/LocalWebSocket.py
Class Name: LocalWebSocket
Method Name: open


Project Name: facebookresearch/Horizon
Commit Name: 9179e190440b80bd2e3c02e1c7c1fc5a1ca9eae5
Time: 2020-10-24
Author: czxttkl@fb.com
File Name: reagent/training/reward_network_trainer.py
Class Name: RewardNetTrainer
Method Name: train


Project Name: wandb/client
Commit Name: 976c9abf91d9e1912d5b35d1a8a19bac85851fee
Time: 2020-08-24
Author: jeff@wandb.com
File Name: wandb/internal/sender.py
Class Name: SendManager
Method Name: send_exit


Project Name: asyml/texar
Commit Name: 2d325991589692bb25d398209022ae03a65074d3
Time: 2018-03-18
Author: zhiting.hu@petuum.com
File Name: examples/transformer/transformer.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: cb919c5e5c151f87616850c056402beefd5f7ff6
Time: 2020-09-04
Author: rkooo567@gmail.com
File Name: streaming/python/runtime/transfer.py
Class Name: DataReader
Method Name: __init__