MCPcopy Index your code
hub / github.com/pydata/xarray / capturing_open_remote_file

Function capturing_open_remote_file

xarray/tests/test_backends.py:5374–5383  ·  view source on GitHub ↗
(
            file, mode, storage_options=None, open_kwargs=None
        )

Source from the content-addressed store, hash-verified

5372 captured = {}
5373
5374 def capturing_open_remote_file(
5375 file, mode, storage_options=None, open_kwargs=None
5376 ):
5377 captured["open_kwargs"] = open_kwargs
5378 return _open_remote_file(
5379 file,
5380 mode=mode,
5381 storage_options=storage_options,
5382 open_kwargs=open_kwargs,
5383 )
5384
5385 with patch(
5386 "xarray.backends.h5netcdf_._open_remote_file",

Callers

nothing calls this directly

Calls 1

_open_remote_fileFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…