From 0e6b613c89e6b74dce4ff88ebc9fb5e60fc53638 Mon Sep 17 00:00:00 2001 From: jiangying Date: Wed, 23 Oct 2024 19:54:08 +0800 Subject: [PATCH] fix proxy.md Signed-off-by: jiangying --- guides/proxy.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/guides/proxy.md b/guides/proxy.md index 96b7d4418..df27cde9a 100644 --- a/guides/proxy.md +++ b/guides/proxy.md @@ -10,9 +10,10 @@ from opensearchpy import OpenSearch, RequestsHttpConnection OpenSearch( - hosts=["htps://..."], + hosts=["https://..."], use_ssl=True, verify_certs=True, + connection_class=RequestsHttpConnection, trust_env=True, ) ``` @@ -29,4 +30,4 @@ client = AsyncOpenSearch( connection_class=AIOHttpConnection, trust_env=True, ) -``` \ No newline at end of file +```