Skip to content

Commit 2853537

Browse files
committed
add docs for fastapi render server
1 parent 94e0620 commit 2853537

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

docs/source/core-concepts.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,12 @@ with support for the following web servers:
179179

180180
- :class:`idom.server.sanic.SharedClientStateServer`
181181

182+
- `fastapi.FastAPI <https://fastapi.tiangolo.com/>`__ (``pip install idom[fastapi]``)
183+
184+
- :class:`idom.server.fastapi.PerClientStateServer`
185+
186+
- :class:`idom.server.fastapi.SharedClientStateServer`
187+
182188
- :class:`flask.Flask` (``pip install idom[flask]``)
183189

184190
- :class:`idom.server.flask.PerClientStateServer`

docs/source/installation.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ table below:
4646
* - ``sanic``
4747
- `Sanic <https://sanicframework.org/>`__ as a :ref:`Layout Server`
4848

49+
* - ``fastapi``
50+
- `FastAPI <https://fastapi.tiangolo.com//>`__ as a :ref:`Layout Server`
51+
4952
* - ``tornado``
5053
- `Tornado <https://www.tornadoweb.org/en/stable/>`__ as a :ref:`Layout Server`
5154

docs/source/package-api.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ Flask Servers
5353
:members:
5454

5555

56+
FastAPI Servers
57+
-------------
58+
59+
.. automodule:: idom.server.fastapi
60+
:members:
61+
62+
5663
Tornado Servers
5764
---------------
5865

0 commit comments

Comments
 (0)