Commit Graph

11 Commits

Author SHA1 Message Date
Justin Spahr-Summers
ffff3d9450 ruff --fix 2024-10-21 14:54:47 +01:00
Justin Spahr-Summers
eb1024c654 Update protocol version handling 2024-10-21 14:50:44 +01:00
Justin Spahr-Summers
2d55eabb2f Update types for protocol version 2024-10-07 2024-10-21 14:47:44 +01:00
David Soria Parra
631c58960f Add support for list_tools 2024-10-11 17:00:15 +01:00
David Soria Parra
fd68df6687 Format with ruff 2024-10-11 16:14:11 +01:00
David Soria Parra
cc342a05ad Allow passing initialization options to a session
We need a way for servers to pass initialization options to the session.
This is the beginning of this.
2024-10-11 16:06:54 +01:00
David Soria Parra
ac6064b016 Make request and notification method generic
The request and notification method were defined as str but later
overwritten in subclasses with literals. This causes a
reportIncompatibleVariableOverride issue. We need to make method
generic.
2024-10-11 12:09:30 +01:00
David Soria Parra
04ad96e6cd Typing fixes
Strict pyright mode results in a lot of issues regarding non fully
determined types, due to Generics. These are some issues I came across
today. We are still far from being clean on pyright.
2024-10-11 12:09:30 +01:00
Justin Spahr-Summers
4040945cdf Exclude Nones 2024-10-02 21:58:33 +01:00
Kenneth Lien
4f0abd197c Add header support for sse_client 2024-09-30 12:46:18 -07:00
David Soria Parra
4cbf815430 Initial import 2024-09-24 22:04:19 +01:00