docs: community docstring updates (#21040)

Added missed docstrings. Updated docstrings to consistent format.
This commit is contained in:
Leonid Ganeline
2024-04-29 14:40:23 -07:00
committed by GitHub
parent 90f19028e5
commit 85094cbb3a
29 changed files with 84 additions and 35 deletions

View File

@@ -187,5 +187,7 @@ class SparkLLMTextEmbeddings(BaseModel, Embeddings):
class AssembleHeaderException(Exception):
"""Exception raised for errors in the header assembly."""
def __init__(self, msg: str) -> None:
self.message = msg