Skip to content

Commit c8a22a2

Browse files
fixing docstring parsing error (#2790)
1 parent b47ed23 commit c8a22a2

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

  • integrations/pinecone/src/haystack_integrations/document_stores/pinecone

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,14 @@ async def get_metadata_fields_info_async(self) -> dict[str, dict[str, str]]:
997997
- 'boolean': Boolean metadata values
998998
999999
:returns: Dictionary mapping field names to type information.
1000-
Example: {'content': {'type': 'text'}, 'category': {'type': 'keyword'}, 'priority': {'type': 'long'}}
1000+
Example:
1001+
```python
1002+
{
1003+
'content': {'type': 'text'},
1004+
'category': {'type': 'keyword'},
1005+
'priority': {'type': 'long'},
1006+
}
1007+
```
10011008
"""
10021009
documents = await self.filter_documents_async(filters=None)
10031010
return self._get_metadata_fields_info_impl(documents)

0 commit comments

Comments
 (0)