Skip to content

Commit 5073fe6

Browse files
authored
Update src/mdio/api/io_utils.py
1 parent 8bed978 commit 5073fe6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/mdio/api/io_utils.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ def process_url(
6868
6969
This allows us to pass options to the simplecache filesystem as well::
7070
71-
process_url(
72-
url="s3://bucket/key",
73-
mode="r",
74-
storage_options={
75-
"s3": {"key": "my_key", "secret": "my_secret"},
76-
"simplecache": {"cache_storage": "custom/local/cache/path"}
77-
},
78-
memory_cache_size=0,
79-
disk_cache=True,
80-
)
71+
>>> process_url(
72+
... url="s3://bucket/key",
73+
... mode="r",
74+
... storage_options={
75+
... "s3": {"key": "my_key", "secret": "my_secret"},
76+
... "simplecache": {"cache_storage": "custom/local/cache/path"}
77+
... },
78+
... memory_cache_size=0,
79+
... disk_cache=True,
80+
... )
8181
"""
8282
# Append simplecache (disk caching) protocol to the URL.
8383
if disk_cache is True:

0 commit comments

Comments
 (0)