Skip to content

Commit 0b3bf86

Browse files
stevenhKludex
andauthored
chore(mistral): disable model_fields deprecation warning (#2224)
Co-authored-by: Marcelo Trylesinski <[email protected]>
1 parent c568ee9 commit 0b3bf86

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)