We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ffc1de commit c78e98aCopy full SHA for c78e98a
src/mcp_grafana/__init__.py
@@ -54,7 +54,7 @@ def run(self, transport: Literal["http", "stdio", "sse"] = "stdio") -> None:
54
Args:
55
transport: Transport protocol to use ("stdio" or "sse")
56
"""
57
- if transport not in Transport:
+ if transport not in Transport.__members__:
58
raise ValueError(f"Unknown transport: {transport}")
59
60
if transport == "stdio":
0 commit comments