Skip to content

[BUG CLIENT]: Pydantic deprecation warning #215

Open
@seangal2

Description

@seangal2

Python -VV

Python 3.13.2 | packaged by Anaconda, Inc. | (main, Feb  6 2025, 12:55:35) [Clang 14.0.6 ]

Pip Freeze

mistralai==1.6.0
pydantic==2.10.6
pydantic-settings==2.8.1
pydantic_core==2.27.2

Reproduction Steps

While using mistral OCR we get deprecation warning from pydantic.
originates from:

for n, f in self.model_fields.items():

Expected Behavior

No deprecation warning

Additional Context

No response

Suggested Solutions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions