From 1a6efce1853188597fd45600a0a0fedc898eee95 Mon Sep 17 00:00:00 2001 From: ragaathorn Date: Thu, 11 Dec 2025 20:28:20 -0500 Subject: [PATCH 1/2] added a sibling node function --- dooit/api/model.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dooit/api/model.py b/dooit/api/model.py index 0c7924ee..c13f5748 100644 --- a/dooit/api/model.py +++ b/dooit/api/model.py @@ -124,6 +124,9 @@ def shift_up(self) -> bool: def _add_sibling(self) -> Self: raise NotImplementedError # pragma: no cover + def _add_sibling_node(self) -> Self: + raise NotImplementedError # pragma: no cover + def add_sibling(self): return self._add_sibling() From 6b8dd54f821b095116a0e597d5f584f57f32ab66 Mon Sep 17 00:00:00 2001 From: ragaathorn Date: Thu, 11 Dec 2025 20:36:18 -0500 Subject: [PATCH 2/2] sibling node parent --- dooit/api/model.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dooit/api/model.py b/dooit/api/model.py index c13f5748..6264fc63 100644 --- a/dooit/api/model.py +++ b/dooit/api/model.py @@ -127,6 +127,9 @@ def _add_sibling(self) -> Self: def _add_sibling_node(self) -> Self: raise NotImplementedError # pragma: no cover + def _add_sibling_parent(self) -> Self: + raise NotImplementedError # pragma: no cover + def add_sibling(self): return self._add_sibling()