Yes, the stack trace didn’t make much sense to me neither. I’ll just ignore the warning like you suggested. Thanks for your help.
$ python -Werror test_cdf_endpoint.py Exception ignored in: <ssl.SSLSocket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.x.x.x', 40596), raddr=('20.x.x.x', 443)>Traceback (most recent call last): File "/home/user/projects/my-project/env/lib/python3.9/site-packages/yaml/scanner.py", line 286, in stale_possible_simple_keys for level in list(self.possible_simple_keys):ResourceWarning: unclosed <ssl.SSLSocket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.x.x.x', 40596), raddr=('20.x.x.x', 443)>
I tried running it with -Werror, but the only difference in output was the aforementioned ResourceWarning duplicated as an Exception.
There isn’t any more stacktrace than what I posted. It still works, yes.
I removed cognite-sdk-core, but the warning remains.I’m running the code on my local machine at work. I assume I’m behind a company firewall, but I’m getting the same warning when I’m on my home network as well.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.