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

Method absolute

xarray/core/treenode.py:41–43  ·  view source on GitHub ↗

Convert into an absolute path.

(self)

Source from the content-addressed store, hash-verified

39 # TODO should we also forbid suffixes to avoid node names with dots in them?
40
41 def absolute(self) -> Self:
42 """Convert into an absolute path."""
43 return type(self)("/", *self.parts)
44
45
46class TreeNode:

Callers 1

from_dictMethod · 0.80

Calls 1

typeFunction · 0.85

Tested by

no test coverage detected