Commit 37f17c3a authored by Baber's avatar Baber
Browse files

nit

parent ee4252ff
......@@ -3,7 +3,7 @@ import random
import uuid
from linecache import cache
from functools import lru_cache
from typing import List
from typing import List, Union
import numpy as np
import wonderwords
......@@ -97,7 +97,7 @@ def generate_random(type_needle: str):
def generate_input_output(
num_haystack: int,
haystack: list[str] | str,
haystack: Union[list[str], str],
*,
type_haystack: str,
num_needle_k: int,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment