docs: fix docstrings across public API surface (#2095)

This commit is contained in:
Jonathan Hefner 2026-02-18 23:45:59 -06:00 • committed by GitHub
commit c0328540c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,9 +87,9 @@ class StdioServerParameters(BaseModel):
encoding: str = "utf-8"
"""
The text encoding used when sending/receiving messages to the server
The text encoding used when sending/receiving messages to the server.
defaults to utf-8
Defaults to utf-8.
"""
encoding_error_handler: Literal["strict", "ignore", "replace"] = "strict"
@ -97,7 +97,7 @@ class StdioServerParameters(BaseModel):
The text encoding error handler.
See https://docs.python.org/3/library/codecs.html#codec-base-classes for
explanations of possible values
explanations of possible values.
"""