Skip to content

Commit eac16da

Browse files
fix(fabric): update response json
1 parent 90d5abd commit eac16da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sqlmesh/core/engine_adapter/fabric.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ def _make_fabric_api_request_with_location(
180180

181181
# Include response body if present
182182
if response.content:
183-
result.update(response.json())
183+
json_data = response.json()
184+
if json_data:
185+
result.update(json_data)
184186

185187
return result
186188

0 commit comments

Comments
 (0)