Skip to content

chore(client): Support Pydantic 2#900

Merged
OlivierDehaene merged 2 commits intohuggingface:mainfrom
JelleZijlstra:pydantic2
Sep 6, 2023
Merged

chore(client): Support Pydantic 2#900
OlivierDehaene merged 2 commits intohuggingface:mainfrom
JelleZijlstra:pydantic2

Conversation

@JelleZijlstra
Copy link
Contributor

@JelleZijlstra JelleZijlstra commented Aug 22, 2023

This should allow users to use either Pydantic 2 or Pydantic 1.

I couldn't run all tests locally because I reran them too often and got rate limited, but I believe this is sufficient.

This should allow users to use either Pydantic 2 or Pydantic 1.
@JelleZijlstra JelleZijlstra marked this pull request as ready for review August 22, 2023 11:40
@edwardzjl
Copy link
Contributor

It would be great if TGI client supports pydantic v2

@OlivierDehaene OlivierDehaene changed the title Support Pydantic 2 chore(client): *Support Pydantic 2 Sep 6, 2023
@OlivierDehaene OlivierDehaene merged commit c8bbbd8 into huggingface:main Sep 6, 2023
@OlivierDehaene
Copy link
Contributor

That's cool thanks :)

@OlivierDehaene OlivierDehaene changed the title chore(client): *Support Pydantic 2 chore(client): Support Pydantic 2 Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants