MCPcopy
hub / github.com/langroid/langroid / parent

Method parent

tests/main/test_object_registry.py:27–28  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

25
26 @property
27 def parent(self) -> Optional["A"]:
28 return ObjectRegistry.get(self.parent_id) if self.parent_id else None
29
30 @property
31 def child(self) -> Optional["A"]:

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected