You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is kind of a duplicate of the paramiko issue. But, I think it could also be fixed in fsspec. I'm not sure whether fsspec does define a standard for the file object. If not, maybe it should? I find it highly unexpected that for the file object:
seek does not return the new position
write does not return the number of bytes written
probably other issues?
This could be fixed here instead of upstream by adding a small wrapper around the paramiko file object. Of course, the same discussion about fsspec/sshfs applies here.
The text was updated successfully, but these errors were encountered:
mxmlnkn
changed the title
File object opened via SSH is inconsistent with the file object API
File object opened via SSH is inconsistent with the file object API. Seek and write return nothing
Sep 28, 2024
This is kind of a duplicate of the paramiko issue. But, I think it could also be fixed in fsspec. I'm not sure whether fsspec does define a standard for the file object. If not, maybe it should? I find it highly unexpected that for the file object:
This could be fixed here instead of upstream by adding a small wrapper around the paramiko file object. Of course, the same discussion about fsspec/sshfs applies here.
The text was updated successfully, but these errors were encountered: