From 6a8c1dad2ec48596c7001d0a85513134f934deb4 Mon Sep 17 00:00:00 2001
From: vtexier <vit@free.fr>
Date: Sun, 3 Nov 2019 16:09:45 +0100
Subject: [PATCH] [enh] #58 make client connect_ws path argument optional

---
 duniterpy/api/client.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/duniterpy/api/client.py b/duniterpy/api/client.py
index 4960d961..336447f0 100644
--- a/duniterpy/api/client.py
+++ b/duniterpy/api/client.py
@@ -301,7 +301,7 @@ class Client:
 
         return result
 
-    def connect_ws(self, path: str) -> _WSRequestContextManager:
+    def connect_ws(self, path: str = '') -> _WSRequestContextManager:
         """
         Connect to a websocket in order to use API parameters
 
-- 
GitLab