mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-02 01:46:19 +00:00
fixing docstrings (#7249)
This commit is contained in:
parent
0ddb48b70f
commit
f4928360a0
@ -143,7 +143,7 @@ class Document(metaclass=_BackwardCompatible):
|
||||
"""
|
||||
Creates a new Document object from a dictionary.
|
||||
|
||||
NOTE: `dataframe` and `blob` fields are converted to their original types.
|
||||
The `dataframe` and `blob` fields are converted to their original types.
|
||||
"""
|
||||
if (dataframe := data.get("dataframe")) is not None:
|
||||
data["dataframe"] = read_json(io.StringIO(dataframe))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user