I’m getting the following warning when I do “import weaviate” in python, even if afterwards I don’t do anything with weaviate.
Here is a thread of someone experiencing the same issue: asyncio/selector_events.py: ResourceWarning: unclosed transport _SelectorSocketTransport · langchain-ai/langchain · Discussion #18293 · GitHub
I’m using Python 3.9.5, and weaviate-client = “4.10.4”
Did someone encountered the same problem and managed to fix it?
hi!
This will usually come up if you do not close the connection before creating a new one.
Let me know if this helps.
Hi @DudaNogueira,
This problem arises just from doing “import weaviate”, even if I don’t create a client afterwards.
That’s strange 
Do you happen to see this same behavior if using a newer python version?
Thanks!
Yes, I updated from version 3.9.5 to 3.11.11
Did you find a solution to this problem @Axel_Straminsky ? I still get this issue by simply having “import weaviate” in my code
hi @nishant412 !! Welcome to our community 
This can surface if there are already open connections and you try to connect again.
does it happen to you on an isolated script, for example?
Thanks!