From af8b82bfdbdb1ceead358e44b3ad08d84dedde65 Mon Sep 17 00:00:00 2001 From: James Xin Date: Wed, 25 Sep 2024 12:14:12 -0700 Subject: [PATCH] address comment Signed-off-by: James Xin --- python/python/glide/async_commands/bitmap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/python/glide/async_commands/bitmap.py b/python/python/glide/async_commands/bitmap.py index ac2f369288..4e98697996 100644 --- a/python/python/glide/async_commands/bitmap.py +++ b/python/python/glide/async_commands/bitmap.py @@ -37,7 +37,8 @@ def __init__( Args: start (int): The starting offset index. - end (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. 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.