fixing docstrings (#7249)

This commit is contained in:
David S. Batista 2024-02-28 17:34:30 +01:00 committed by GitHub
parent 0ddb48b70f
commit f4928360a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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))