mirror of
https://github.com/anthropics/claude-code-sdk-python.git
synced 2025-12-23 09:19:52 +00:00
fix: Remove blank line whitespace (ruff W293)
This commit is contained in:
parent
dec66a2b2b
commit
973c061b31
1 changed files with 3 additions and 3 deletions
|
|
@ -316,7 +316,7 @@ class Query:
|
|||
try:
|
||||
# For now, we'll use a simpler approach without MCP SDK types
|
||||
# This avoids import issues in CI where mcp package isn't installed
|
||||
|
||||
|
||||
# Route based on method string directly
|
||||
if method == "tools/list":
|
||||
# Try to get the handler - it should handle the raw request
|
||||
|
|
@ -338,7 +338,7 @@ class Query:
|
|||
else:
|
||||
tool_dict["inputSchema"] = {}
|
||||
tools_data.append(tool_dict)
|
||||
|
||||
|
||||
return {
|
||||
"jsonrpc": "2.0",
|
||||
"id": message.get("id"),
|
||||
|
|
@ -353,7 +353,7 @@ class Query:
|
|||
params.get("name"),
|
||||
params.get("arguments", {})
|
||||
)
|
||||
|
||||
|
||||
# Format the response
|
||||
content = []
|
||||
if hasattr(result, 'content'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue