Skip to content

Commit

Permalink
Remove Pydantic warning from FastAPI guide (#6683)
Browse files Browse the repository at this point in the history
  • Loading branch information
raddevon authored Jan 10, 2024
1 parent c2d4211 commit 43b069a
Showing 1 changed file with 0 additions and 10 deletions.
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

0 comments on commit 43b069a

Please sign in to comment.