59ae34807591155f31d2c85fefddb71cfa8e2bd8,lib/streamlit/proxy/Proxy.py,,_print_remote_url,#Any#Any#,51

Before Change


        try:
            http_client = httpclient.HTTPClient()
            response = http_client.fetch(AWS_CHECK_IP, request_timeout=1)
            external_ip = response.body.strip()
        except (httpclient.HTTPError, RuntimeError) as e:
            LOGGER.error(f"Error connecting to {AWS_CHECK_IP}: {e}")
        finally:
            if http_client is not None:

After Change


    print("=============================================================")
    print("Open one of the URLs below in your browser within %s seconds."
          % timeout_secs)
    print("External URL:", external_url)
    print("Internal URL:", lan_url)
    print("=============================================================")

def _launch_web_client(name):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: streamlit/streamlit
Commit Name: 59ae34807591155f31d2c85fefddb71cfa8e2bd8
Time: 2018-09-24
Author: thiagot@gmail.com
File Name: lib/streamlit/proxy/Proxy.py
Class Name:
Method Name: _print_remote_url


Project Name: TheAlgorithms/Python
Commit Name: 356b51458d2ed75e8f03123124e12c141503ad7c
Time: 2018-10-05
Author: 43875858+prateekyo@users.noreply.github.com
File Name: sorts/bubble_sort.py
Class Name:
Method Name:


Project Name: dPys/PyNets
Commit Name: 82c63c208dd9cf501685585949b470891dad9bfb
Time: 2019-06-05
Author: dpisner@utexas.edu
File Name: pynets/utils.py
Class Name:
Method Name: reorient_img


Project Name: Hironsan/anago
Commit Name: c12740b64e69e8383144d0f36a138bf033a9b074
Time: 2017-08-01
Author: light.tree.1.13@gmail.com
File Name: anago/data_utils.py
Class Name:
Method Name: load_vocab


Project Name: commonsense/conceptnet5
Commit Name: db4b9f4d50af9e83733fc301c32e85cbe6d9c812
Time: 2014-02-25
Author: rob@luminoso.com
File Name: conceptnet5/builders/json_to_solr.py
Class Name:
Method Name: convert_to_solr