We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 010fcfa commit 08e9401Copy full SHA for 08e9401
src/crate/client/http.py
@@ -326,7 +326,10 @@ def _pool_kw_args(
326
return kw
327
328
329
-def _remove_certs_for_non_https(server, kwargs):
+def _remove_certs_for_non_https(server: str, kwargs: dict) -> dict:
330
+ """
331
+ Removes certificates for http requests.
332
333
if server.lower().startswith("https"):
334
return kwargs
335
used_ssl_args = SSL_ONLY_ARGS & set(kwargs.keys())
tests/client/test_cursor.py
@@ -21,7 +21,7 @@
21
22
import datetime
23
from ipaddress import IPv4Address
24
-from unittest import TestCase, mock
+from unittest import mock
25
import pytest
26
27
from crate.client.exceptions import ProgrammingError
0 commit comments