Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ git fetch upstream
git rebase upstream/main
```

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

```sh
Expand Down
24 changes: 12 additions & 12 deletions meilisearch_python_sdk/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ async def get_documents(
"""Get a batch documents from the index.

Args:
ids: Array of document primary keys to retrieve. Defults to None (Gets all documents).
ids: Array of document primary keys to retrieve. Defaults to None (Gets all documents).
offset: Number of documents to skip. Defaults to 0.
limit: Maximum number of documents returnedd. Defaults to 20.
fields: Document attributes to show. If this value is None then all
Expand Down Expand Up @@ -1668,8 +1668,8 @@ async def add_documents_from_directory(
primary_key: The primary key of the documents. This will be ignored if already set.
Defaults to None.
document_type: The type of document being added. Accepted types are json, csv, and
ndjson. For csv files the first row of the document should be a header row contining
the field names, and ever for should have a title.
ndjson. For csv files the first row of the document should be a header row
containing the field names, and ever for should have a title.
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
can only be used if the file is a csv file. Defaults to comma.
combine_documents: If set to True this will combine the documents from all the files
Expand Down Expand Up @@ -1832,7 +1832,7 @@ async def add_documents_from_directory_in_batches(
primary_key: The primary key of the documents. This will be ignored if already set.
Defaults to None.
document_type: The type of document being added. Accepted types are json, csv, and
ndjson. For csv files the first row of the document should be a header row contining
ndjson. For csv files the first row of the document should be a header row containing
the field names, and ever for should have a title.
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
can only be used if the file is a csv file. Defaults to comma.
Expand Down Expand Up @@ -2355,7 +2355,7 @@ async def update_documents_from_directory(
primary_key: The primary key of the documents. This will be ignored if already set.
Defaults to None.
document_type: The type of document being added. Accepted types are json, csv, and
ndjson. For csv files the first row of the document should be a header row contining
ndjson. For csv files the first row of the document should be a header row containing
the field names, and ever for should have a title.
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
can only be used if the file is a csv file. Defaults to comma.
Expand Down Expand Up @@ -2467,7 +2467,7 @@ async def update_documents_from_directory_in_batches(
primary_key: The primary key of the documents. This will be ignored if already set.
Defaults to None.
document_type: The type of document being added. Accepted types are json, csv, and
ndjson. For csv files the first row of the document should be a header row contining
ndjson. For csv files the first row of the document should be a header row containing
the field names, and ever for should have a title.
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
can only be used if the file is a csv file. Defaults to comma.
Expand Down Expand Up @@ -5656,7 +5656,7 @@ def get_documents(
"""Get a batch documents from the index.

Args:
ids: Array of document primary keys to retrieve. Defults to None (Gets all documents).
ids: Array of document primary keys to retrieve. Defaults to None (Gets all documents).
offset: Number of documents to skip. Defaults to 0.
limit: Maximum number of documents returnedd. Defaults to 20.
fields: Document attributes to show. If this value is None then all
Expand Down Expand Up @@ -5827,7 +5827,7 @@ def add_documents_from_directory(
primary_key: The primary key of the documents. This will be ignored if already set.
Defaults to None.
document_type: The type of document being added. Accepted types are json, csv, and
ndjson. For csv files the first row of the document should be a header row contining
ndjson. For csv files the first row of the document should be a header row containing
the field names, and ever for should have a title.
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
can only be used if the file is a csv file. Defaults to comma.
Expand Down Expand Up @@ -5903,7 +5903,7 @@ def add_documents_from_directory_in_batches(
primary_key: The primary key of the documents. This will be ignored if already set.
Defaults to None.
document_type: The type of document being added. Accepted types are json, csv, and
ndjson. For csv files the first row of the document should be a header row contining
ndjson. For csv files the first row of the document should be a header row containing
the field names, and ever for should have a title.
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
can only be used if the file is a csv file. Defaults to comma.
Expand Down Expand Up @@ -6292,7 +6292,7 @@ def update_documents_from_directory(
primary_key: The primary key of the documents. This will be ignored if already set.
Defaults to None.
document_type: The type of document being added. Accepted types are json, csv, and
ndjson. For csv files the first row of the document should be a header row contining
ndjson. For csv files the first row of the document should be a header row containing
the field names, and ever for should have a title.
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
can only be used if the file is a csv file. Defaults to comma.
Expand Down Expand Up @@ -6367,8 +6367,8 @@ def update_documents_from_directory_in_batches(
primary_key: The primary key of the documents. This will be ignored if already set.
Defaults to None.
document_type: The type of document being added. Accepted types are json, csv, and
ndjson. For csv files the first row of the document should be a header row contining
the field names, and ever for should have a title.
ndjson. For csv files the first row of the document should be a header row
containing the field names, and ever for should have a title.
csv_delimiter: A single ASCII character to specify the delimiter for csv files. This
can only be used if the file is a csv file. Defaults to comma.
combine_documents: If set to True this will combine the documents from all the files
Expand Down