]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
Fix anchor
authorYurii Motov <yurii.motov.monte@gmail.com>
Thu, 9 Jul 2026 20:51:52 +0000 (22:51 +0200)
committerYurii Motov <yurii.motov.monte@gmail.com>
Thu, 9 Jul 2026 20:51:52 +0000 (22:51 +0200)
docs/en/docs/advanced/dataclasses.md

index fbabe0c872ad650887fd60117d251537be81b6a5..469eff65bf6c35a5e59434b9daca8cf76cc13376 100644 (file)
@@ -6,7 +6,7 @@ But FastAPI also supports using [`dataclasses`](https://docs.python.org/3/librar
 
 {* ../../docs_src/dataclasses_/tutorial001_py310.py hl[1,6:11,18:19] *}
 
-This is still supported thanks to **Pydantic**, as it has [internal support for `dataclasses`](https://docs.pydantic.dev/latest/concepts/dataclasses/#use-of-stdlib-dataclasses-with-basemodel).
+This is still supported thanks to **Pydantic**, as it has [internal support for `dataclasses`](https://pydantic.dev/docs/validation/latest/concepts/dataclasses/#usage-of-stdlib-dataclasses-with-basemodel).
 
 So, even with the code above that doesn't use Pydantic explicitly, FastAPI is using Pydantic to convert those standard dataclasses to Pydantic's own flavor of dataclasses.