Skip to content

Commit da9f3c7

Browse files
committed
Fix SSL Verification in Python SDK
All the SDKs verify SSL certificates by default except for the Python SDK due to a but in the logic for SSL verification. This change fixes the logic to ensure SSL verification is done by default.
1 parent 6f14fd2 commit da9f3c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/python/package/client.py.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class Client:
7474
json=json,
7575
files=files,
7676
headers=headers,
77-
verify=self._self_signed,
77+
verify=(not self._self_signed),
7878
)
7979

8080
response.raise_for_status()

0 commit comments

Comments
 (0)