Skip to content

Commit 306d4f1

Browse files
authored
Doc update connection UI (#59)
* rhoai-9150 text change data connections to connections * address merge conflicts 3 * address merge conflicts * address merge conflicts 2 * more updates for data connection >connection change * address peer review comments
1 parent 27f5d48 commit 306d4f1

34 files changed

+129
-128
lines changed

2_save_model.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"bucket_name = os.environ.get('AWS_S3_BUCKET')\n",
4747
"\n",
4848
"if not all([aws_access_key_id, aws_secret_access_key, endpoint_url, region_name, bucket_name]):\n",
49-
" raise ValueError(\"One or data connection variables are empty. \"\n",
50-
" \"Please check your data connection to an S3 bucket.\")\n",
49+
" raise ValueError(\"One or more connection variables are empty. \"\n",
50+
" \"Please check your connection to an S3 bucket.\")\n",
5151
"\n",
5252
"session = boto3.session.Session(aws_access_key_id=aws_access_key_id,\n",
5353
" aws_secret_access_key=aws_secret_access_key)\n",

setup/setup-s3-job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
- args:
2929
- -ec
3030
- |-
31-
echo -n 'Setting up Minio instance and data connections'
31+
echo -n 'Setting up Minio instance and connections'
3232
oc apply -f https://github.com/cfchase/fraud-detection-notebooks/raw/main/setup/setup-s3-no-sa.yaml
3333
command:
3434
- /bin/bash

utils/s3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
bucket_name = os.environ.get('AWS_S3_BUCKET')
1010

1111
if not all([aws_access_key_id, aws_secret_access_key, endpoint_url, region_name, bucket_name]):
12-
raise ValueError("One or data connection variables are empty. "
13-
"Please check your data connection to an S3 bucket.")
12+
raise ValueError("One or more connection variables are empty. "
13+
"Please check your connection to an S3 bucket.")
1414

1515
session = boto3.session.Session(aws_access_key_id=aws_access_key_id,
1616
aws_secret_access_key=aws_secret_access_key)
-28.5 KB
Loading
-38.8 KB
Loading
7.66 KB
Loading
29.6 KB
Loading
-6.04 KB
Loading
101 KB
Loading
-26.8 KB
Loading

0 commit comments

Comments
 (0)