Skip to content

Commit e57285f

Browse files
bors[bot]sapristi
andauthored
Merge #501
501: Fix typing of Index.get_documents r=alallema a=sapristi # Pull Request ## What does this PR do? Fix typing of `Index.get_documents` Fixes #500 ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: mmill <[email protected]>
2 parents 33b3ad2 + e82957f commit e57285f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meilisearch/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def get_document(self, document_id: str, parameters: Optional[Dict[str, Any]] =
277277
f'{self.config.paths.index}/{self.uid}/{self.config.paths.document}/{document_id}?{parse.urlencode(parameters)}'
278278
)
279279

280-
def get_documents(self, parameters: Optional[Dict[str, Any]] = None) -> List[Dict[str, Any]]:
280+
def get_documents(self, parameters: Optional[Dict[str, Any]] = None) -> Dict[str, Any]:
281281
"""Get a set of documents from the index.
282282
283283
Parameters

0 commit comments

Comments
 (0)