from client import Client
from uv_stream import UvStream

__all__ = ['Client', 'UvStream', 'c']

from client import Client
from uv_stream import UvStream

__all__ = ['connect']

def connect(address, port=None):
    client = Client(UvStream(address, port))
    client.discover_api()
    return client.vim

Add helper function for connecting with Neovim
Add helper function for connecting with Neovim

  from client import Client
  from uv_stream import UvStream
  
- __all__ = ['Client', 'UvStream', 'c']
+ __all__ = ['connect']
  
+ def connect(address, port=None):
+     client = Client(UvStream(address, port))
+     client.discover_api()
+     return client.vim
+ 
Add helper function for connecting with Neovim
## Code Before:
from client import Client
from uv_stream import UvStream

__all__ = ['Client', 'UvStream', 'c']

## Instruction:
Add helper function for connecting with Neovim
## Code After:
from client import Client
from uv_stream import UvStream

__all__ = ['connect']

def connect(address, port=None):
    client = Client(UvStream(address, port))
    client.discover_api()
    return client.vim
