diff --git a/nats/__init__.py b/nats/__init__.py index bd000aa8..32d01162 100644 --- a/nats/__init__.py +++ b/nats/__init__.py @@ -18,7 +18,8 @@ async def connect( - servers: Union[List[str]] = ["nats://localhost:4222"], **options + servers: Union[str, List[str]] = ["nats://localhost:4222"], + **options ) -> NATS: """ :param servers: List of servers to connect.