-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Labels
Description
Hello, when using the methods connect or connect_async, the return types are lost because of the untyped decorators _async_connection_factory and _connection_factory.
The fix includes the adding of a TypeVar and a ParamSpec to make them coherent with the wrapped callables. This will be usable for all platforms and Python versions >=3.8, using typing_extensions for python < 3.10.
I can tackle the issue if needed :)