Skip to content

Commit

Permalink
Update filesystems.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaze committed Sep 27, 2024
1 parent 594434f commit 3f4a986
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions argopy/stores/filesystems.py
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,8 @@ def open_mfdataset(
For the :class:`distributed.client.Client` and :class:`concurrent.futures.ProcessPoolExecutor` to work appropriately, the pre-processing :class:`collections.abc.Callable` must be serializable. This can be checked with:
>>> from distributed.protocol import serialize
>>> serialize(serialize.ToPickle(preprocess_function))
>>> from distributed.protocol.serialize import ToPickle
>>> serialize(ToPickle(preprocess_function))
"""
strUrl = lambda x: x.replace("https://", "").replace( # noqa: E731
"http://", ""
Expand Down Expand Up @@ -1477,7 +1478,8 @@ def open_mfjson(
For the :class:`distributed.client.Client` and :class:`concurrent.futures.ProcessPoolExecutor` to work appropriately, the pre-processing :class:`collections.abc.Callable` must be serializable. This can be checked with:
>>> from distributed.protocol import serialize
>>> serialize(serialize.ToPickle(preprocess_function))
>>> from distributed.protocol.serialize import ToPickle
>>> serialize(ToPickle(preprocess_function))
"""
strUrl = lambda x: x.replace("https://", "").replace( # noqa: E731
"http://", ""
Expand Down

0 comments on commit 3f4a986

Please sign in to comment.