Content-Length: 277955 | pFad | https://github.com/googleapis/python-aiplatform/commit/7af3e67654e05c20f3cd6f1226ebac3521a95200

A6 fix: use https to connect through Ray dashboard · googleapis/python-aiplatform@7af3e67 · GitHub
Skip to content

Commit 7af3e67

Browse files
yinghsienwucopybara-github
authored andcommitted
fix: use https to connect through Ray dashboard
PiperOrigin-RevId: 601255907
1 parent 262a36b commit 7af3e67

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

google/cloud/aiplatform/preview/vertex_ray/dashboard_sdk.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def get_job_submission_client_cluster_info(
5656
}
5757
return oss_dashboard_sdk.get_job_submission_client_cluster_info(
5858
address=address,
59+
_use_tls=True,
5960
*args,
6061
**kwargs,
6162
)

tests/unit/vertex_ray/test_dashboard_sdk.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,6 @@ def test_job_submission_client_cluster_info_with_dashboard_address(
109109
get_bearer_token_mock.assert_called_once_with()
110110
ray_get_job_submission_client_cluster_info_mock.assert_called_once_with(
111111
address=tc.ClusterConstants._TEST_VERTEX_RAY_DASHBOARD_ADDRESS,
112+
_use_tls=True,
112113
headers=tc.ClusterConstants._TEST_HEADERS,
113114
)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/googleapis/python-aiplatform/commit/7af3e67654e05c20f3cd6f1226ebac3521a95200

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy