Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Self TypeVar for SSHConnection __aenter__ (#600)
* Use Self TypeVar for SSHConnection __aenter__ This makes it so that when using a subclass as a context manager like so: async with asyncssh.connect(...) as con: the con variable has the type SSHClientConnection instead of simply SSHConnection.
- Loading branch information