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.