Skip to content

Commit 2bd3945

Browse files
committed
Fix typos
1 parent 18e202b commit 2bd3945

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ git fetch upstream
288288
git rebase upstream/main
289289
```
290290

291-
There may be some merge conficts that need to be resolved. After the feature branch has been update
291+
There may be some merge conflicts that need to be resolved. After the feature branch has been update
292292
locally, you can now update your pull request by pushing to the branch on GitHub:
293293

294294
```sh

meilisearch_python_sdk/index.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,7 @@ async def get_documents(
13831383
"""Get a batch documents from the index.
13841384
13851385
Args:
1386-
ids: Array of document primary keys to retrieve. Defults to None (Gets all documents).
1386+
ids: Array of document primary keys to retrieve. Defaults to None (Gets all documents).
13871387
offset: Number of documents to skip. Defaults to 0.
13881388
limit: Maximum number of documents returnedd. Defaults to 20.
13891389
fields: Document attributes to show. If this value is None then all
@@ -1668,8 +1668,8 @@ async def add_documents_from_directory(
16681668
primary_key: The primary key of the documents. This will be ignored if already set.
16691669
Defaults to None.
16701670
document_type: The type of document being added. Accepted types are json, csv, and
1671-
ndjson. For csv files the first row of the document should be a header row contining
1672-
the field names, and ever for should have a title.
1671+
ndjson. For csv files the first row of the document should be a header row
1672+
containing the field names, and ever for should have a title.
16731673
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
16741674
can only be used if the file is a csv file. Defaults to comma.
16751675
combine_documents: If set to True this will combine the documents from all the files
@@ -1832,7 +1832,7 @@ async def add_documents_from_directory_in_batches(
18321832
primary_key: The primary key of the documents. This will be ignored if already set.
18331833
Defaults to None.
18341834
document_type: The type of document being added. Accepted types are json, csv, and
1835-
ndjson. For csv files the first row of the document should be a header row contining
1835+
ndjson. For csv files the first row of the document should be a header row containing
18361836
the field names, and ever for should have a title.
18371837
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
18381838
can only be used if the file is a csv file. Defaults to comma.
@@ -2355,7 +2355,7 @@ async def update_documents_from_directory(
23552355
primary_key: The primary key of the documents. This will be ignored if already set.
23562356
Defaults to None.
23572357
document_type: The type of document being added. Accepted types are json, csv, and
2358-
ndjson. For csv files the first row of the document should be a header row contining
2358+
ndjson. For csv files the first row of the document should be a header row containing
23592359
the field names, and ever for should have a title.
23602360
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
23612361
can only be used if the file is a csv file. Defaults to comma.
@@ -2467,7 +2467,7 @@ async def update_documents_from_directory_in_batches(
24672467
primary_key: The primary key of the documents. This will be ignored if already set.
24682468
Defaults to None.
24692469
document_type: The type of document being added. Accepted types are json, csv, and
2470-
ndjson. For csv files the first row of the document should be a header row contining
2470+
ndjson. For csv files the first row of the document should be a header row containing
24712471
the field names, and ever for should have a title.
24722472
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
24732473
can only be used if the file is a csv file. Defaults to comma.
@@ -5656,7 +5656,7 @@ def get_documents(
56565656
"""Get a batch documents from the index.
56575657
56585658
Args:
5659-
ids: Array of document primary keys to retrieve. Defults to None (Gets all documents).
5659+
ids: Array of document primary keys to retrieve. Defaults to None (Gets all documents).
56605660
offset: Number of documents to skip. Defaults to 0.
56615661
limit: Maximum number of documents returnedd. Defaults to 20.
56625662
fields: Document attributes to show. If this value is None then all
@@ -5827,7 +5827,7 @@ def add_documents_from_directory(
58275827
primary_key: The primary key of the documents. This will be ignored if already set.
58285828
Defaults to None.
58295829
document_type: The type of document being added. Accepted types are json, csv, and
5830-
ndjson. For csv files the first row of the document should be a header row contining
5830+
ndjson. For csv files the first row of the document should be a header row containing
58315831
the field names, and ever for should have a title.
58325832
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
58335833
can only be used if the file is a csv file. Defaults to comma.
@@ -5903,7 +5903,7 @@ def add_documents_from_directory_in_batches(
59035903
primary_key: The primary key of the documents. This will be ignored if already set.
59045904
Defaults to None.
59055905
document_type: The type of document being added. Accepted types are json, csv, and
5906-
ndjson. For csv files the first row of the document should be a header row contining
5906+
ndjson. For csv files the first row of the document should be a header row containing
59075907
the field names, and ever for should have a title.
59085908
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
59095909
can only be used if the file is a csv file. Defaults to comma.
@@ -6292,7 +6292,7 @@ def update_documents_from_directory(
62926292
primary_key: The primary key of the documents. This will be ignored if already set.
62936293
Defaults to None.
62946294
document_type: The type of document being added. Accepted types are json, csv, and
6295-
ndjson. For csv files the first row of the document should be a header row contining
6295+
ndjson. For csv files the first row of the document should be a header row containing
62966296
the field names, and ever for should have a title.
62976297
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
62986298
can only be used if the file is a csv file. Defaults to comma.
@@ -6367,8 +6367,8 @@ def update_documents_from_directory_in_batches(
63676367
primary_key: The primary key of the documents. This will be ignored if already set.
63686368
Defaults to None.
63696369
document_type: The type of document being added. Accepted types are json, csv, and
6370-
ndjson. For csv files the first row of the document should be a header row contining
6371-
the field names, and ever for should have a title.
6370+
ndjson. For csv files the first row of the document should be a header row
6371+
containing the field names, and ever for should have a title.
63726372
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
63736373
can only be used if the file is a csv file. Defaults to comma.
63746374
combine_documents: If set to True this will combine the documents from all the files

0 commit comments

Comments
 (0)