Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Remove Pydantic warning from FastAPI guide #6683

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions docs/guides/tutorials/rest_apis_with_fastapi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ FastAPI

:edb-alt-title: Building a REST API with EdgeDB and FastAPI

.. warning::

FastAPI currently has some compatibility issues with Pydantic V2. As they
work to iron out those issues, you may need to fall back to older Pydantic
to run this example project.

.. code-block:: bash

$ pip install --force-reinstall -v "pydantic==1.10"

Because FastAPI encourages and facilitates strong typing, it's a natural
pairing with EdgeDB. Our Python code generation generates not only typed
query functions but result types you can use to annotate your endpoint handler
Expand Down
Loading