Skip to content

Commit a15f7c1

Browse files
committed
fix _setup_server_pool typing information
1 parent 86b5442 commit a15f7c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nats/aio/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@ async def _flush_pending(
13341334
except asyncio.CancelledError:
13351335
pass
13361336

1337-
def _setup_server_pool(self, connect_url: Union[List[str]]) -> None:
1337+
def _setup_server_pool(self, connect_url: Union[str, List[str]]) -> None:
13381338
if isinstance(connect_url, str):
13391339
try:
13401340
if "nats://" in connect_url or "tls://" in connect_url:

0 commit comments

Comments
 (0)