SameerMesiah97 commented on code in PR #70101:
URL: https://github.com/apache/airflow/pull/70101#discussion_r4027199993


##########
providers/snowflake/src/airflow/providers/snowflake/hooks/snowflake_cortex_agent.py:
##########
@@ -77,7 +108,22 @@ def _request(
 
         response.raise_for_status()
 
-        return response.json()
+        if not response.content:
+            if response_type == "dict":
+                return {}

Review Comment:
   Removed lines 111-115 in the previous version of the file (before the last 
commit). 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to