python(pydantic): Use validate_by_name config; populate_by_name will be deprecated (#22931)

* modules

* pydantic bump

* samples

* revert for fastapi generator and apply pydantic constrain everywhere
This commit is contained in:
Timon
2026-02-25 08:51:44 +01:00
committed by GitHub
parent df4a1d63e0
commit bfe5ca84ce
405 changed files with 789 additions and 406 deletions

View File

@@ -25,7 +25,7 @@ PYTHON_REQUIRES = ">= 3.9"
REQUIRES = [
"urllib3 >= 2.1.0, < 3.0.0",
"python-dateutil >= 2.8.2",
"pydantic >= 2",
"pydantic >= 2.11",
"typing-extensions >= 4.7.1",
]