Skip to content

Commit 9e719a8

Browse files
kw-only args for get_random_indices
Co-authored-by: Roman Lutz <[email protected]>
1 parent 6ab5d8e commit 9e719a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrit/common/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def combine_list(list1: Union[str, List[str]], list2: Union[str, List[str]]) ->
4949
return combined
5050

5151

52-
def get_random_indices(start: int, size: int, percentage: int) -> List[int]:
52+
def get_random_indices(*, start: int, size: int, percentage: int) -> List[int]:
5353
"""
5454
Generate a list of random indices based on a specified percentage of the total size.
5555
The indices are selected from the range [start, start + size).

0 commit comments

Comments
 (0)