util/requests.py
def check_connection():
    """
    Check the connection by sending a GET request to the prod_site endpoint
    :return: Connection OK
    """
    try:
        r = requests.get(
            util.utils.get_property('endpoints', 'prod_anno_site'), timeout=3
        )
        return r.status_code == 200
    except:
        return False

    Check the connection by sending a GET request to the prod_site endpoint
    :return: Connection OK
    
Check the connection by sending a GET request to the prod_site endpoint
Check the connection by sending a GET request to the prod_site endpoint
def check_connection():
    try:
        r = requests.get(
            util.utils.get_property('endpoints', 'prod_anno_site'), timeout=3
        )
        return r.status_code == 200
    except:
        return False
def check_connection ( ) : try : r = requests . get ( util . utils . get_property ( 'endpoints' , 'prod_anno_site' ) , timeout = 3 ) return r . status_code == 200 except : return False
Check the connection by sending a GET request to the prod_site endpoint
Check the connection by sending a GET request to the prod_site endpoint
"""
    Check the connection by sending a GET request to the prod_site endpoint
    :return: Connection OK
    """
None