We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8036d85 commit 73e4da7Copy full SHA for 73e4da7
src/databricks/sql/backend/sea/models/responses.py
@@ -94,8 +94,7 @@ def _parse_result(data: Dict[str, Any]) -> ResultData:
94
95
# Handle attachment field - decode from base64 if present
96
attachment = result_data.get("attachment")
97
- if attachment is not None and isinstance(attachment, str):
98
- # Decode base64 string to bytes
+ if attachment is not None:
99
attachment = base64.b64decode(attachment)
100
101
return ResultData(
0 commit comments