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

Data Bucket Stream: add method getKeyByIndex

parent 362a8f39
Pipeline #21901 passed with stage
in 0 seconds
...@@ -264,6 +264,12 @@ class DataBucketStream(Document): ...@@ -264,6 +264,12 @@ class DataBucketStream(Document):
""" """
key = self._long_index_tree[index] key = self._long_index_tree[index]
return self.getBucketByKey(key).value 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): 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