feat: add message to ProgressNotification (#435)

Co-authored-by: ihrpr <inna.hrpr@gmail.com>
This commit is contained in:
Akshey D 2025-05-13 10:40:15 -07:00 • committed by GitHub
commit 9e66f7ce89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -282,6 +282,7 @@ class ServerSession(
progress_token: str | int,
progress: float,
total: float | None = None,
message: str | None = None,
related_request_id: str | None = None,
) -> None:
"""Send a progress notification."""
@ -293,6 +294,7 @@ class ServerSession(
progressToken=progress_token,
progress=progress,
total=total,
message=message,
),
)
),