Skip to content

Commit 46cf39b

Browse files
authored
fix(examples): Don't verify SSL (#62)
One of these was inadvertently removed in #61. I've added it back and also set the config to be the same in all examples.
1 parent 83621bc commit 46cf39b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

examples/feature_distributions_demo.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"outputs": [],
5454
"source": [
5555
"config = Configuration()\n",
56-
"config.host = f\"{INGRESS}/seldon-deploy/api/v1alpha1\""
56+
"config.host = f\"{INGRESS}/seldon-deploy/api/v1alpha1\"\n",
57+
"config.verify_ssl = False"
5758
]
5859
},
5960
{

examples/metadata_demo.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@
6868
"outputs": [],
6969
"source": [
7070
"config = Configuration()\n",
71-
"config.host = f\"{INGRESS}/seldon-deploy/api/v1alpha1\""
71+
"config.host = f\"{INGRESS}/seldon-deploy/api/v1alpha1\"\n",
72+
"config.verify_ssl = False"
7273
]
7374
},
7475
{

examples/token-refresh-password-grant.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ def call_env():
2121

2222
config = Configuration()
2323
config.host = "http://x.x.x.x/seldon-deploy/api/v1alpha1"
24+
config.verify_ssl = False
2425
config.oidc_client_id = client_id
2526
config.oidc_server = "http://x.x.x.x/auth/realms/deploy-realm"
2627
config.username = username

0 commit comments

Comments
 (0)