From 8ce266a12a4aca0c8f5dce66f4cc9af6eab93024 Mon Sep 17 00:00:00 2001 From: James Xin Date: Thu, 26 Sep 2024 09:50:21 -0700 Subject: [PATCH] fix doc for OffsetOptions Signed-off-by: James Xin --- python/python/glide/async_commands/bitmap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/python/glide/async_commands/bitmap.py b/python/python/glide/async_commands/bitmap.py index 4e98697996..d7e2415057 100644 --- a/python/python/glide/async_commands/bitmap.py +++ b/python/python/glide/async_commands/bitmap.py @@ -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.