MCPcopy
hub / github.com/pydata/xarray / set_close

Method set_close

xarray/core/datatree.py:914–916  ·  view source on GitHub ↗

Set the closer for this node.

(self, close: Callable[[], None] | None)

Source from the content-addressed store, hash-verified

912 node._close_node()
913
914 def set_close(self, close: Callable[[], None] | None) -> None:
915 """Set the closer for this node."""
916 self._close = close
917
918 def _replace_node(
919 self: DataTree,

Callers 10

decode_cfFunction · 0.45
load_storeMethod · 0.45
open_dataarrayFunction · 0.45
open_mfdatasetFunction · 0.45
open_datasetMethod · 0.45
tree_and_closersFunction · 0.45

Calls

no outgoing calls

Tested by 2

tree_and_closersFunction · 0.36