Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit ac51872

Browse files
authored
Allow non-200 HTTP status response from API (#157)
1 parent 4125e8f commit ac51872

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pan_cortex_data_lake/query.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,6 @@ def iter_job_results(
235235
r = self.get_job_results(
236236
job_id=job_id, params=params, enforce_json=enforce_json, **kwargs
237237
)
238-
if not r.ok:
239-
raise HTTPError("%s" % r.text)
240238
r_json = r.json()
241239
if r_json["state"] == "DONE":
242240
page_cursor = r_json["page"].get("pageCursor")

0 commit comments

Comments
 (0)