Skip to content

Commit d3ffa89

Browse files
Allow refs_as_store to take aribtrary kwargs (#568)
(passed to refs_as_fs) Co-authored-by: Martin Durant <martin.durant@alumni.utoronto.ca>
1 parent 161eeed commit d3ffa89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kerchunk/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def refs_as_fs(
4444

4545

4646
def refs_as_store(
47-
refs, read_only=False, fs=None, remote_protocol=None, remote_options=None
47+
refs, read_only=False, fs=None, remote_protocol=None, remote_options=None, **kwargs
4848
):
4949
"""Convert a reference set to a zarr store"""
5050
remote_options = remote_options or {}
@@ -55,6 +55,7 @@ def refs_as_store(
5555
fs=fs,
5656
remote_protocol=remote_protocol,
5757
remote_options=remote_options,
58+
**kwargs,
5859
)
5960
return fs_as_store(fss, read_only=read_only)
6061

0 commit comments

Comments
 (0)