Browse Source

fix: update broken Pydantic v2 and Ariadne documentation links

Pydantic restructured their docs site when releasing v2, moving pages
from /usage/ to /concepts/. The pydantic-extra-types page no longer has
a standalone docs URL, so the link now points to the GitHub repo.
Ariadne removed their FastAPI integration page, so the link now points
to the Ariadne homepage.

Affected files:
- docs/en/docs/tutorial/extra-data-types.md
- docs/en/docs/index.md
- docs/en/docs/release-notes.md
- docs/en/docs/how-to/graphql.md
pull/15903/head
Jahanzaib Iqbal 3 weeks ago
parent
commit
9ca3da4ca7
Failed to extract signature
  1. 2
      docs/en/docs/how-to/graphql.md
  2. 4
      docs/en/docs/index.md
  3. 4
      docs/en/docs/release-notes.md
  4. 2
      docs/en/docs/tutorial/extra-data-types.md

2
docs/en/docs/how-to/graphql.md

@ -21,7 +21,7 @@ Here are some of the **GraphQL** libraries that have **ASGI** support. You could
* [Strawberry](https://strawberry.rocks/) 🍓
* With [docs for FastAPI](https://strawberry.rocks/docs/integrations/fastapi)
* [Ariadne](https://ariadnegraphql.org/)
* With [docs for FastAPI](https://ariadnegraphql.org/docs/fastapi-integration)
* With [docs for FastAPI](https://ariadnegraphql.org/)
* [Tartiflette](https://tartiflette.io/)
* With [Tartiflette ASGI](https://tartiflette.github.io/tartiflette-asgi/) to provide ASGI integration
* [Graphene](https://graphene-python.org/)

4
docs/en/docs/index.md

@ -572,8 +572,8 @@ There are some additional dependencies you might want to install.
Additional optional Pydantic dependencies:
* [`pydantic-settings`](https://docs.pydantic.dev/latest/usage/pydantic_settings/) - for settings management.
* [`pydantic-extra-types`](https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/) - for extra types to be used with Pydantic.
* [`pydantic-settings`](https://docs.pydantic.dev/latest/concepts/pydantic_settings/) - for settings management.
* [`pydantic-extra-types`](https://github.com/pydantic/pydantic-extra-types) - for extra types to be used with Pydantic.
Additional optional FastAPI dependencies:

4
docs/en/docs/release-notes.md

@ -4012,8 +4012,8 @@ There are **tests for both Pydantic v1 and v2**, and test **coverage** is kept a
* The attribute `schema_extra` for the internal class `Config` has been replaced by the key `json_schema_extra` in the new `model_config` dict.
* You can read more about it in the docs for [Declare Request Example Data](https://fastapi.tiangolo.com/tutorial/schema-extra-example/).
* When you install `"fastapi[all]"` it now also includes:
* [`pydantic-settings`](https://docs.pydantic.dev/latest/usage/pydantic_settings/) - for settings management.
* [`pydantic-extra-types`](https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/) - for extra types to be used with Pydantic.
* [`pydantic-settings`](https://docs.pydantic.dev/latest/concepts/pydantic_settings/) - for settings management.
* [`pydantic-extra-types`](https://github.com/pydantic/pydantic-extra-types) - for extra types to be used with Pydantic.
* Now Pydantic Settings is an additional optional package (included in `"fastapi[all]"`). To use settings you should now import `from pydantic_settings import BaseSettings` instead of importing from `pydantic` directly.
* You can read more about it in the docs for [Settings and Environment Variables](https://fastapi.tiangolo.com/advanced/settings/).

2
docs/en/docs/tutorial/extra-data-types.md

@ -49,7 +49,7 @@ Here are some of the additional data types you can use:
* `Decimal`:
* Standard Python `Decimal`.
* In requests and responses, handled the same as a `float`.
* You can check all the valid Pydantic data types here: [Pydantic data types](https://docs.pydantic.dev/latest/usage/types/types/).
* You can check all the valid Pydantic data types here: [Pydantic data types](https://docs.pydantic.dev/latest/concepts/types/).
## Example { #example }

Loading…
Cancel
Save