Skip to content

Commit

Permalink
fix: warning at ws
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiniuYu committed Jul 13, 2022
1 parent ef7c9bd commit 08e2900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/clip_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
)

Expand Down

0 comments on commit 08e2900

Please sign in to comment.