-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use paramiko instead of sshfs * use specified port * test default handler behaviour * default to fsspec instead of error if scheme not found * attempt to close socket * fix ci * Revert "fix ci" This reverts commit e56e337. * broader exception * also handle socket exception * get user robust * enable github test with skip if api limit is hit (so we sometimes test it, but it never fails due to api limits). TODO: update exception class * add memory filesystem test * add zip and tar tests * fix memory test * zip/tar tests * add test for writing with fsspec without any integration (file-like object) * update docstrings, add some type hints * add helper method to produce sink from a path or file-like object * add fsspec writing test for integration * helper function to check if file-like object * return file-like object * explicit argument * rename test * create empty file * rename test * pass storage options to fsspec * test ssh and memory writing * split fsspec tests into reading and writing * loosen the check for file-like object * add test for file update * file update test * properly truncate the file * refactor how sink is created (no changes) * annotation to avoid warning * close file if sink initialization fails * sink will handle fsspec in a similar way to local path for open and close * rename to reading * check if test works * missing import * remove parent dirs * fix zip tar tests * skip github if api limits hit * attempt to fix windows paths * use more complex uri with object in zip test * debug * paths * add new test case to object url split * add new failing test case: TODO make it work * revert debug changes * working in new test case * modified where file is truncated * revert file-like check * revert is-file-like check * unified rb+ mode (fsspec uses "rb+" not "r+b" it can be confusing sometimes) * add http write test (not implemented error check) * skip test for debugging * understand test failure * use r+b instead of rb+ * use new sink * writing memory test * correctly truncate file with fsspec * use fsspec to get parent dir * aiohttp import skip * isstr * use ports instead of string * improve path:obj split to handle chained protocols (protocol1::protocol2://) * working url chain to some extent * attempt to fix ci * cleanup * attempt to fix ci
- Loading branch information
Showing
9 changed files
with
281 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.