You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dictionary containing a list of all enqueued, processing, succeeded or failed tasks of the index.
366
+
Dictionary containing a list of all enqueued, processing, succeeded or failed tasks.
366
367
367
368
Raises
368
369
------
369
370
MeiliSearchApiError
370
371
An error containing details about why MeiliSearch can't process your request. MeiliSearch error codes are described here: https://docs.meilisearch.com/errors/#meilisearch-errors
An error containing details about why MeiliSearch can't process your request. MeiliSearch error codes are described here: https://docs.meilisearch.com/errors/#meilisearch-errors
393
392
"""
394
-
returnself.http.get(
395
-
f'{self.config.paths.task}/{uid}'
396
-
)
393
+
returnTask(self.config).get_task(uid)
397
394
398
395
defwait_for_task(
399
396
self, uid: int,
@@ -405,11 +402,11 @@ def wait_for_task(
405
402
Parameters
406
403
----------
407
404
uid:
408
-
identifier of the task to wait for being processed.
405
+
Identifier of the task to wait for being processed.
409
406
timeout_in_ms (optional):
410
-
time the method should wait before raising a MeiliSearchTimeoutError
407
+
Time the method should wait before raising a MeiliSearchTimeoutError
411
408
interval_in_ms (optional):
412
-
time interval the method should wait (sleep) between requests
409
+
Time interval the method should wait (sleep) between requests
413
410
414
411
Returns
415
412
-------
@@ -421,4 +418,4 @@ def wait_for_task(
421
418
MeiliSearchTimeoutError
422
419
An error containing details about why MeiliSearch can't process your request. MeiliSearch error codes are described here: https://docs.meilisearch.com/errors/#meilisearch-errors
0 commit comments