Commit 1098afbf authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Levin Zimmermann

Data Bucket Stream: add method getKeyByIndex

parent 362a8f39
......@@ -264,6 +264,12 @@ class DataBucketStream(Document):
"""
key = self._long_index_tree[index]
return self.getBucketByKey(key).value
def getKeyByIndex(self, index):
"""
Get the bucket key by a given index
"""
return self._long_index_tree[index]
def hasBucketKey(self, key):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment