Skip to content

Commit

Permalink
chore: Set verify=false in post request as a workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Meyers committed Aug 12, 2024
1 parent 9040d92 commit 4a9af03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/unity_initiator/actions/submit_dag_by_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ def execute(self):
},
"note": "",
}
response = httpx.post(url, auth=auth, headers=headers, json=body)
response = httpx.post(
url, auth=auth, headers=headers, json=body, verify=False
) # nosec
if response.status_code in (200, 201):
success = True
resp = response.json()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def execute(self):
"outputs": None,
"subscriber": None,
}
response = httpx.post(url, headers=headers, json=body)
response = httpx.post(url, headers=headers, json=body, verify=False) # nosec
if response.status_code in (200, 201):
success = True
resp = response.json()
Expand Down

0 comments on commit 4a9af03

Please sign in to comment.