Client Establishment in Singleton Pattern

Hi team , Need help in client creation in multi thread environment ,because we are trying singleton design pattern with lazy instantiation for weaviate . In this, while client establishment, another threads start executing and causes error
“No Attribute client”. I just need two things. first , the client instantiation is synchronous or asynchronous, if this is asynchronous then I can easily using async await. Second, if not then how to resolve this??


Sorry for the delay here!

There are some discussion going on here:

Also, is good to mention that a new python client is being developed. Check more information about it: Shape the Future - Try Our New Python Client API | Weaviate - vector database