Skip to content

[Bot]: pydantic error #214

Closed Answered by AnzhiZhang
Adogs1 asked this question in Q&A
Jul 26, 2024 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

FastAPI MCDR 和相关 py 包是可选依赖。
如果安装了 pydantic,请使用 v2 以上的版本,v2 将 min_items 改为了 min_length。而你安装的是 1.10.13

https://docs.pydantic.dev/1.10/usage/types/#arguments-to-conlist
https://docs.pydantic.dev/2.8/api/types/#pydantic.types.conlist

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Adogs1
Comment options

@AnzhiZhang
Comment options

Answer selected by AnzhiZhang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #213 on July 26, 2024 12:16.