Skip to content

Commit 7b7e056

Browse files
committed
docs: split overlong docstring to pass Ruff checks after escaping braces
1 parent e7144fb commit 7b7e056

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

integrations/faiss/src/haystack_integrations/document_stores/faiss/document_store.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,8 @@ def get_metadata_fields_info(self) -> dict[str, dict[str, Any]]:
404404
"""
405405
Infers and returns the types of all metadata fields from the stored documents.
406406
407-
:returns: A dictionary mapping field names to dictionaries with a "type" key (e.g. {"field": {"type": "long"}}).
407+
:returns: A dictionary mapping field names to dictionaries with a "type" key
408+
(e.g. `{"field": {"type": "long"}}`).
408409
"""
409410
fields_idx = {}
410411
for doc in self.documents.values():

0 commit comments

Comments
 (0)