Skip to content

Commit baf842f

Browse files
authored
Merge pull request #8 from 1kbgz/tkp/chain
Update readme
2 parents 9dfe6ec + 3f88e1d commit baf842f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import my_bucket_lib # s3://my-python-bucket/my_bucket_lib.py
2424
In addition to the `python::` [chained protocol](https://filesystem-spec.readthedocs.io/en/latest/features.html#url-chaining) url, this library exposes a handful of functions and monkey patches for connecting Python internal mechanisms to an `fsspec`-based filesystem.
2525

2626
- install_importer: install an
27-
- `install_importer(fsspec: str, **fsspec_args: str)`: install an fsspec url/args as an importer
28-
- `uninstall_importer(fsspec: str = "")`: uninstall an fsspec url, or if nothing provided remove the last-installed one
27+
- `install_importer(fs: Union[str, AbstractFileSystem], **kwargs)`: install an fsspec url/args or filesystem instance as an importer
28+
- `uninstall_importer(fs: Union[str, AbstractFileSystem] = "")`: uninstall an fsspec url or filesystem instance, or if nothing provided remove the last-installed one
2929
- `install_open_hook(fsspec: str, **fsspec_args)`: monkeypatch Python's `open` builtin to run off an `fsspec` filesystem
3030
- `uninstall_open_hook()`: remove the monkeypatched `open`
3131

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ classifiers = [
2828

2929
dependencies = [
3030
"fsspec@git+https://github.com/fsspec/filesystem_spec#egg=c23674c4c7bd60f8c3b41d0c4bbcefe4d18d6c70",
31-
3231
]
3332

3433
[project.entry-points."fsspec.specs"]

0 commit comments

Comments
 (0)