Skip to content

Commit 4a9af03

Browse files
author
Drew Meyers
committed
chore: Set verify=false in post request as a workaround
1 parent 9040d92 commit 4a9af03

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/unity_initiator/actions/submit_dag_by_id.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ def execute(self):
3434
},
3535
"note": "",
3636
}
37-
response = httpx.post(url, auth=auth, headers=headers, json=body)
37+
response = httpx.post(
38+
url, auth=auth, headers=headers, json=body, verify=False
39+
) # nosec
3840
if response.status_code in (200, 201):
3941
success = True
4042
resp = response.json()

src/unity_initiator/actions/submit_ogc_process_execution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def execute(self):
3030
"outputs": None,
3131
"subscriber": None,
3232
}
33-
response = httpx.post(url, headers=headers, json=body)
33+
response = httpx.post(url, headers=headers, json=body, verify=False) # nosec
3434
if response.status_code in (200, 201):
3535
success = True
3636
resp = response.json()

0 commit comments

Comments
 (0)