Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix/close SSHClient in sftp connector #309

Merged
merged 5 commits into from
Dec 17, 2024

Conversation

rbiseck3
Copy link
Collaborator

Description

The base fsspec implementation was letting the underlying library handle any connections, but the sftp implementation never closed the SSHClient connection. This updates the code to use a context manager, allowing the code to inject any addition cleanup in case the underlying implementation isn't enough.

@ahmetmeleq ahmetmeleq merged commit d7cdbaa into main Dec 17, 2024
26 checks passed
@ahmetmeleq ahmetmeleq deleted the roman/fsspec-client-context-manager branch December 17, 2024 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants