core[patch]: docstring update (#16813)

- added missed docstrings
- formated docstrings to consistent form
This commit is contained in:
Leonid Ganeline
2024-02-09 12:47:41 -08:00
committed by GitHub
parent e10030e241
commit ae66bcbc10
33 changed files with 162 additions and 131 deletions

View File

@@ -35,7 +35,7 @@ class ChatGeneration(Generation):
class ChatGenerationChunk(ChatGeneration):
"""A ChatGeneration chunk, which can be concatenated with other
"""ChatGeneration chunk, which can be concatenated with other
ChatGeneration chunks.
Attributes:

View File

@@ -32,7 +32,7 @@ class Generation(Serializable):
class GenerationChunk(Generation):
"""A Generation chunk, which can be concatenated with other Generation chunks."""
"""Generation chunk, which can be concatenated with other Generation chunks."""
@classmethod
def get_lc_namespace(cls) -> List[str]: