Skip to content

Commit 124a82d

Browse files
authored
Fix: Optional argument requires default value (#41)
1 parent ee191ea commit 124a82d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/sdk/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ class AlephClient:
446446

447447
def __init__(
448448
self,
449-
api_server: Optional[str],
449+
api_server: Optional[str] = None,
450450
api_unix_socket: Optional[str] = None,
451451
allow_unix_sockets: bool = True,
452452
timeout: Optional[aiohttp.ClientTimeout] = None,

0 commit comments

Comments
 (0)