Skip to content

Commit aa24eab

Browse files
committed
fix: search helpers
1 parent be0458d commit aa24eab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/python/search_helpers.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
aggregator=_aggregator,
2323
validate=lambda _resp: _resp.status == "published",
2424
timeout=lambda: timeout(self._retry_count),
25-
error_validate=lambda x: self._retry_count >= max_retries,
25+
error_validate=lambda _: self._retry_count >= max_retries,
2626
error_message=lambda: f"The maximum number of retries exceeded. (${self._retry_count}/${max_retries})",
2727
)
2828

@@ -49,7 +49,7 @@
4949
aggregator=_aggregator,
5050
validate=lambda _resp: _resp.status == "published",
5151
timeout=lambda: timeout(self._retry_count),
52-
error_validate=lambda x: self._retry_count >= max_retries,
52+
error_validate=lambda _: self._retry_count >= max_retries,
5353
error_message=lambda: f"The maximum number of retries exceeded. (${self._retry_count}/${max_retries})",
5454
)
5555

0 commit comments

Comments
 (0)