Skip to content

Commit

Permalink
Fix connect() (#484)
Browse files Browse the repository at this point in the history
* Fix `connect()`

---------

Co-authored-by: Waldemar Quevedo <waldemar.quevedo@gmail.com>
  • Loading branch information
ekeew and wallyqs authored Aug 23, 2023
1 parent 72d3d5f commit 709a2c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nats/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 709a2c6

Please # to comment.