community[patch]: docstrings update (#20301)

Added missed docstrings. Format docstings to the consistent form.
This commit is contained in:
Leonid Ganeline
2024-04-11 13:23:27 -07:00
committed by GitHub
parent 2900720cd3
commit 7cf2d2759d
77 changed files with 162 additions and 125 deletions

View File

@@ -29,7 +29,7 @@ class YouHit(YouHitMetadata):
class YouAPIOutput(BaseModel):
"""The output from you.com api"""
"""Output from you.com API."""
hits: List[YouHit] = Field(
description="A list of dictionaries containing the results"
@@ -37,7 +37,7 @@ class YouAPIOutput(BaseModel):
class YouDocument(BaseModel):
"""The output of parsing one snippet"""
"""Output of parsing one snippet."""
page_content: str = Field(description="One snippet of text")
metadata: YouHitMetadata