MCPcopy Index your code
hub / github.com/google/adk-python / parent

Method parent

src/google/adk/events/_node_path_builder.py:74–78  ·  view source on GitHub ↗

Returns the parent _NodePathBuilder, or None if this is a root path.

(self)

Source from the content-addressed store, hash-verified

72
73 @property
74 def parent(self) -> _NodePathBuilder | None:
75 """Returns the parent _NodePathBuilder, or None if this is a root path."""
76 if len(self._segments) <= 1:
77 return None
78 return _NodePathBuilder(self._segments[:-1])
79
80 def append(
81 self, node_name: str, run_id: str | None = None

Callers

nothing calls this directly

Calls 1

_NodePathBuilderClass · 0.85

Tested by

no test coverage detected