xarray.backends.DummyFileManager

class xarray.backends.DummyFileManager(value)

FileManager that simply wraps an open file in the FileManager interface.

__init__(self, value)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(self, value)

Initialize self.

acquire(self[, needs_lock])

Acquire the file object from this manager.

acquire_context(self[, needs_lock])

Context manager for acquiring a file.

close(self[, needs_lock])

Close the file object associated with this manager, if needed.