Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit58585b3

Browse files
committed
chore(mistral): disable model_fields deprecation warning
Disable the deprecation warning for model_fields in Mistral.
1 parent4193208 commit58585b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ filterwarnings = [
200200
"error",
201201
# Issue with python-multipart - we don't want to bump the minimum version of starlette.
202202
"ignore::PendingDeprecationWarning:starlette",
203+
# mistralai accesses model_fields on the instance, which is deprecated in Pydantic 2.11.
204+
"ignore:Accessing the 'model_fields' attribute",
203205
# boto3
204206
"ignore::DeprecationWarning:botocore.*",
205207
"ignore::RuntimeWarning:pydantic_ai.mcp",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp