From 2f0650cf6950be770836cc46eb6ab5919b57d54d Mon Sep 17 00:00:00 2001 From: timotheyca Date: Mon, 30 May 2022 19:14:32 +0300 Subject: [PATCH] split explanation note --- .../data/collection/trees/binary/binarytreecreationprotocol.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rainbowadn/data/collection/trees/binary/binarytreecreationprotocol.py b/rainbowadn/data/collection/trees/binary/binarytreecreationprotocol.py index 78cc6c8..6380bb6 100644 --- a/rainbowadn/data/collection/trees/binary/binarytreecreationprotocol.py +++ b/rainbowadn/data/collection/trees/binary/binarytreecreationprotocol.py @@ -13,6 +13,7 @@ class BinaryTreeCreationProtocol(Generic[ActiveKeyType, MetaDataType, TreeType]) def split(self, tree: TreeType) -> Optional[ tuple[TreeType, HashPoint[ActiveKeyType], HashPoint[MetaDataType], TreeType] ]: + """result of this method is supposed to be used right after the call, therefore all values are resolved""" raise NotImplementedError def tree(self, treel: TreeType, treer: TreeType, key: HashPoint[ActiveKeyType]) -> TreeType: