Browse Source
Moving the import of pydantic.v1 and the warnings filter to the module level avoids executing them on every single object serialization in jsonable_encoder, significantly boosting performance for Pydantic v1 backward compatibility checks.pull/15584/head
1 changed files with 13 additions and 12 deletions
Loading…
Reference in new issue