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

Method __str__

xarray/core/treenode.py:714–716  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

712 return repr_value
713
714 def __str__(self) -> str:
715 name_repr = repr(self.name) if self.name is not None else ""
716 return f"NamedNode({name_repr})"
717
718 def _post_attach(self, parent: Self, name: str) -> None:
719 """Ensures child has name attribute corresponding to key under which it has been stored."""

Callers 1

__repr__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected