From 08e29006e16ee34391ea11a1eb5d6a347de2d220 Mon Sep 17 00:00:00 2001 From: ZiniuYu Date: Wed, 13 Jul 2022 18:53:50 +0800 Subject: [PATCH] fix: warning at ws --- client/clip_client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/clip_client/client.py b/client/clip_client/client.py index 68fc3ee48..ee4f5f697 100644 --- a/client/clip_client/client.py +++ b/client/clip_client/client.py @@ -46,7 +46,7 @@ def __init__(self, server: str, credential: dict = {}, **kwargs): if self._scheme == 'ws': self._scheme = 'websocket' # temp fix for the core if credential: - raise ValueError( + warnings.warn( 'Credential is not supported for websocket, please use grpc or http' )