Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tamird
Copy link
Contributor

@tamird tamird commented Nov 22, 2024

  • Appease mypy
  • Remove outdated re-export
  • Fix tests for pydantic>=2.10

tamird and others added 4 commits November 22, 2024 08:51
Before this change:
```
fastapi/_compat.py:292: error: Incompatible import of "Url" (imported name has type "type[AnyUrl]", local name has type "type[Url]")  [assignment]
```
@tiangolo tiangolo changed the title Fix tests for pydantic>=2.10 ♻️ Update tests and internals for compatibility with Pydantic >=2.10 Nov 22, 2024
Copy link
Member

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you! 🚀 🍰

@tiangolo tiangolo merged commit bf4fad1 into fastapi:master Nov 22, 2024
@tamird tamird deleted the fix-tests branch November 22, 2024 17:09
s-rigaud pushed a commit to s-rigaud/fastapi that referenced this pull request Jan 23, 2025
…astapi#12971)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants