We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 873ec40 commit eb26227Copy full SHA for eb26227
templates/python/search_helpers.mustache
@@ -167,7 +167,7 @@
167
)
168
return {{^isSyncClient}}await {{/isSyncClient}}create_iterable{{#isSyncClient}}_sync{{/isSyncClient}}(
169
func=_func,
170
- validate=lambda _resp: _resp.nb_hits < hits_per_page,
+ validate=lambda _resp: len(_resp.hits) < hits_per_page,
171
aggregator=aggregator,
172
173
@@ -197,7 +197,7 @@
197
return resp
198
199
200
201
202
203
0 commit comments