Skip to content

Commit

Permalink
Fix typing in wikipedia track (elastic#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbanasiak authored and inqueue committed Dec 6, 2023
1 parent 4f9df84 commit 30ee255
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wikipedia/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import re
from os import getcwd
from os.path import dirname
from typing import Iterator
from typing import Iterator, List

from esrally.track.params import ParamSource

Expand All @@ -16,7 +16,7 @@
QUERY_CLEAN_REXEXP = regexp = re.compile("[^0-9a-zA-Z]+")


def query_samples(k: int, random_seed: int = None) -> list[str]:
def query_samples(k: int, random_seed: int = None) -> List[str]:
with open(QUERIES_FILENAME) as queries_file:
csv_reader = csv.reader(queries_file)
next(csv_reader)
Expand Down

0 comments on commit 30ee255

Please sign in to comment.