Loading CHANGES.md +7 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,13 @@ Changes since 0.8.2 =========================== >**NOTE:** this section will document changes to the library since the last release ## Important - Kinetic Protocol version updated to [3.0.6](https://github.com/Seagate/kinetic-protocol/tree/3.0.6) ## New features - Added support for Batch operations - Added `reverse` parameter on GetKeyRange operation ## Major changes - `AsyncClient` has been renamed to `Client` - A new `SecureClient` has been added to `kinetic`. Loading kinetic/operations.py +3 −1 Original line number Diff line number Diff line Loading @@ -175,7 +175,8 @@ class GetPrevious(Get): class GetKeyRange(BaseOperation): def _build(self, startKey=None, endKey=None, startKeyInclusive=True, endKeyInclusive=True, maxReturned=200): def _build(self, startKey=None, endKey=None, startKeyInclusive=True, endKeyInclusive=True, maxReturned=200, reverse=False): if not startKey: startKey = '' if not endKey: Loading @@ -193,6 +194,7 @@ class GetKeyRange(BaseOperation): kr.startKeyInclusive = startKeyInclusive kr.endKeyInclusive = endKeyInclusive kr.maxReturned = maxReturned kr.reverse = reverse return (m, None) Loading Loading
CHANGES.md +7 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,13 @@ Changes since 0.8.2 =========================== >**NOTE:** this section will document changes to the library since the last release ## Important - Kinetic Protocol version updated to [3.0.6](https://github.com/Seagate/kinetic-protocol/tree/3.0.6) ## New features - Added support for Batch operations - Added `reverse` parameter on GetKeyRange operation ## Major changes - `AsyncClient` has been renamed to `Client` - A new `SecureClient` has been added to `kinetic`. Loading
kinetic/operations.py +3 −1 Original line number Diff line number Diff line Loading @@ -175,7 +175,8 @@ class GetPrevious(Get): class GetKeyRange(BaseOperation): def _build(self, startKey=None, endKey=None, startKeyInclusive=True, endKeyInclusive=True, maxReturned=200): def _build(self, startKey=None, endKey=None, startKeyInclusive=True, endKeyInclusive=True, maxReturned=200, reverse=False): if not startKey: startKey = '' if not endKey: Loading @@ -193,6 +194,7 @@ class GetKeyRange(BaseOperation): kr.startKeyInclusive = startKeyInclusive kr.endKeyInclusive = endKeyInclusive kr.maxReturned = maxReturned kr.reverse = reverse return (m, None) Loading