Skip to content

Commit 0a75242

Browse files
committed
typos
1 parent 259d857 commit 0a75242

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

meilisearch/index.py

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ def get_tasks(self, parameters: Optional[Dict[str, Any]] = None) -> TaskResults:
139139
140140
Returns
141141
-------
142+
tasks:
142143
TaskResults instance with attributes:
143144
- from_
144145
- next_
@@ -168,7 +169,7 @@ def get_task(self, uid: int) -> Task:
168169
169170
Returns
170171
-------
171-
Task:
172+
task:
172173
Task instance containing information about the processed asynchronous task of an index.
173174
174175
Raises
@@ -197,7 +198,7 @@ def wait_for_task(
197198
198199
Returns
199200
-------
200-
Task:
201+
task:
201202
Task instance containing information about the processed asynchronous task.
202203
203204
Raises
@@ -216,7 +217,7 @@ def get_stats(self) -> IndexStats:
216217
217218
Returns
218219
-------
219-
IndexStats:
220+
stats:
220221
IndexStats instance containing information about the given index.
221222
222223
Raises
@@ -273,7 +274,7 @@ def get_document(self, document_id: str, parameters: Optional[Dict[str, Any]] =
273274
274275
Returns
275276
-------
276-
Document:
277+
document:
277278
Document instance containing the documents information.
278279
279280
Raises
@@ -301,6 +302,7 @@ def get_documents(self, parameters: Optional[Dict[str, Any]] = None) -> Document
301302
302303
Returns
303304
-------
305+
documents:
304306
DocumentsResults instance with attributes:
305307
- total
306308
- offset
@@ -338,7 +340,7 @@ def add_documents(
338340
339341
Returns
340342
-------
341-
TaskInfo:
343+
task_info:
342344
TaskInfo instance containing information about a task to track the progress of an asynchronous process.
343345
https://docs.meilisearch.com/reference/api/tasks.html#get-one-task
344346
@@ -370,7 +372,7 @@ def add_documents_in_batches(
370372
371373
Returns
372374
-------
373-
TaskInfo (list):
375+
tasks_info:
374376
List of TaskInfo instances containing information about a task to track the progress of an asynchronous process.
375377
https://docs.meilisearch.com/reference/api/tasks.html#get-one-task
376378
@@ -405,7 +407,7 @@ def add_documents_json(
405407
406408
Returns
407409
-------
408-
TaskInfo:
410+
task_info:
409411
TaskInfo instance containing information about a task to track the progress of an asynchronous process.
410412
https://docs.meilisearch.com/reference/api/tasks.html#get-one-task
411413
@@ -432,7 +434,7 @@ def add_documents_csv(
432434
433435
Returns
434436
-------
435-
TaskInfo:
437+
task_info:
436438
TaskInfo instance containing information about a task to track the progress of an asynchronous process.
437439
https://docs.meilisearch.com/reference/api/tasks.html#get-one-task
438440
@@ -459,7 +461,7 @@ def add_documents_ndjson(
459461
460462
Returns
461463
-------
462-
TaskInfo:
464+
task_info:
463465
TaskInfo instance containing information about a task to track the progress of an asynchronous process.
464466
https://docs.meilisearch.com/reference/api/tasks.html#get-one-task
465467
@@ -489,7 +491,7 @@ def add_documents_raw(
489491
490492
Returns
491493
-------
492-
TaskInfo:
494+
task_info:
493495
TaskInfo instance containing information about a task to track the progress of an asynchronous process.
494496
https://docs.meilisearch.com/reference/api/tasks.html#get-one-task
495497
@@ -518,7 +520,7 @@ def update_documents(
518520
519521
Returns
520522
-------
521-
TaskInfo:
523+
task_info:
522524
TaskInfo instance containing information about a task to track the progress of an asynchronous process.
523525
https://docs.meilisearch.com/reference/api/tasks.html#get-one-task
524526
@@ -550,7 +552,7 @@ def update_documents_in_batches(
550552
551553
Returns
552554
-------
553-
TaskInfo (list):
555+
tasks_info:
554556
List of TaskInfo instances containing information about a task to track the progress of an asynchronous process.
555557
https://docs.meilisearch.com/reference/api/tasks.html#get-one-task
556558
@@ -579,7 +581,7 @@ def delete_document(self, document_id: str) -> TaskInfo:
579581
580582
Returns
581583
-------
582-
TaskInfo:
584+
task_info:
583585
TaskInfo instance containing information about a task to track the progress of an asynchronous process.
584586
https://docs.meilisearch.com/reference/api/tasks.html#get-one-task
585587
@@ -603,7 +605,7 @@ def delete_documents(self, ids: List[str]) -> TaskInfo:
603605
604606
Returns
605607
-------
606-
TaskInfo:
608+
task_info:
607609
TaskInfo instance containing information about a task to track the progress of an asynchronous process.
608610
https://docs.meilisearch.com/reference/api/tasks.html#get-one-task
609611
@@ -623,7 +625,7 @@ def delete_all_documents(self) -> TaskInfo:
623625
624626
Returns
625627
-------
626-
TaskInfo:
628+
task_info:
627629
TaskInfo instance containing information about a task to track the progress of an asynchronous process.
628630
https://docs.meilisearch.com/reference/api/tasks.html#get-one-task
629631

0 commit comments

Comments
 (0)