Skip to content

Commit

Permalink
fix doc for OffsetOptions
Browse files Browse the repository at this point in the history
Signed-off-by: James Xin <james.xin@improving.com>
  • Loading branch information
jamesx-improving committed Oct 3, 2024
1 parent ac5cadd commit 8ce266a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/python/glide/async_commands/bitmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def __init__(
Args:
start (int): The starting offset index.
end (Optional[int]): The ending offset index. Optional since Valkey version 8.0.0 and above. If not provided,
it will default to the end of the string.
end (Optional[int]): The ending offset index. Optional since Valkey version 8.0.0 and above for the BITCOUNT
command. If not provided, it will default to the end of the string.
index_type (Optional[BitmapIndexType]): The index offset type. This option can only be specified if you are
using Valkey version 7.0.0 or above. Could be either `BitmapIndexType.BYTE` or `BitmapIndexType.BIT`.
If no index type is provided, the indexes will be assumed to be byte indexes.
Expand Down

0 comments on commit 8ce266a

Please sign in to comment.