‘weaviate.client.WeaviateClient use with pydantic

Description

Trtying to pydantic and running into this error

pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for <class ‘weaviate.client.WeaviateClient’

Is there any class imports that will resolve this?

I already have these

import weaviate
import weaviate.classes as wvc

hi!

Can you share the versions of the client you are using?

I cannot reproduce this.

This is the version I am using:

$ pip freeze | grep weaviate
weaviate-client==4.8.1

langchain-weaviate==0.0.3
weaviate==0.1.0
weaviate-client==4.8.1

I worked around by disabling pydantic check for now. :frowning: for this class. Not ideal

Hi, can you please post a full example?