mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-19 14:54:24 +01:00
refactor: Make types.py strictly typechecked. (#336)
This commit is contained in:
committed by
GitHub
parent
df2d3a57c2
commit
9a2bb6a7e7
@@ -134,9 +134,7 @@ def server(server_port: int) -> Generator[None, None, None]:
|
||||
time.sleep(0.1)
|
||||
attempt += 1
|
||||
else:
|
||||
raise RuntimeError(
|
||||
f"Server failed to start after {max_attempts} attempts"
|
||||
)
|
||||
raise RuntimeError(f"Server failed to start after {max_attempts} attempts")
|
||||
|
||||
yield
|
||||
|
||||
|
||||
Reference in New Issue
Block a user