Commit 9478b175 authored by Klaus Wölfel's avatar Klaus Wölfel

Data Bucket Stream: add method getKeyByIndex

parent 1199b007
......@@ -192,6 +192,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