def load_configuration()

in credit-card-fraud-detection/neptune_ml_utils.py [0:0]


def load_configuration():
    with open(f'{HOME_DIRECTORY}/graph_notebook_config.json') as f:
        data = json.load(f)
        host = data['host']
        port = data['port']
        if data['auth_mode'] == 'IAM':
            iam = True
        else:
            iam = False
    return host, port, iam