fix: line too long in google_sheets_tool

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Timothy
2026-03-19 20:06:31 -07:00
parent a995818db2
commit e92caeef24
@@ -417,7 +417,9 @@ def register_tools(
if isinstance(values, str):
values = json.loads(values)
if not isinstance(values, list):
return {"error": f"values must be a 2D list or JSON string, got {type(values).__name__}"}
return {
"error": f"values must be a 2D list or JSON string, got {type(values).__name__}"
}
client = _get_client()
if isinstance(client, dict):
return client
@@ -458,7 +460,9 @@ def register_tools(
if isinstance(values, str):
values = json.loads(values)
if not isinstance(values, list):
return {"error": f"values must be a 2D list or JSON string, got {type(values).__name__}"}
return {
"error": f"values must be a 2D list or JSON string, got {type(values).__name__}"
}
client = _get_client()
if isinstance(client, dict):
return client