-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) * feat (#1168): allow include regular router to FastAPI integration * docs: generate API References * docs: update FastAPI integration to use BrokerRouter * tests: add FastAPI include regular router testcase --------- Co-authored-by: Lancetnik <Lancetnik@users.noreply.github.com>
- Loading branch information
Showing
24 changed files
with
122 additions
and
298 deletions.
There are no files selected for viewing
11 changes: 0 additions & 11 deletions
11
docs/docs/en/api/faststream/asyncapi/schema/info/EmailStr.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
docs/docs_src/integrations/fastapi/confluent/multiple_lifespan.py
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...rc/integrations/fastapi/kafka/multiple.py → .../integrations/fastapi/confluent/router.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
docs/docs_src/integrations/fastapi/kafka/multiple_lifespan.py
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...ntegrations/fastapi/confluent/multiple.py → ..._src/integrations/fastapi/kafka/router.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
docs/docs_src/integrations/fastapi/nats/multiple_lifespan.py
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...src/integrations/fastapi/nats/multiple.py → ...s_src/integrations/fastapi/nats/router.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
docs/docs_src/integrations/fastapi/rabbit/multiple_lifespan.py
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...c/integrations/fastapi/rabbit/multiple.py → ...src/integrations/fastapi/rabbit/router.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
docs/docs_src/integrations/fastapi/redis/multiple_lifespan.py
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...rc/integrations/fastapi/redis/multiple.py → ..._src/integrations/fastapi/redis/router.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 0 additions & 29 deletions
29
docs/includes/getting_started/integrations/fastapi/multiple.md
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
docs/includes/getting_started/integrations/fastapi/multiple_lifespan.md
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
docs/includes/getting_started/integrations/fastapi/routers.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
=== "AIOKafka" | ||
|
||
```python linenums="1" hl_lines="2-3 6 12-14 16" | ||
{!> docs_src/integrations/fastapi/kafka/router.py !} | ||
``` | ||
|
||
=== "Confluent" | ||
|
||
```python linenums="1" hl_lines="2-3 6 12-14 16" | ||
{!> docs_src/integrations/fastapi/confluent/router.py !} | ||
``` | ||
|
||
=== "RabbitMQ" | ||
|
||
```python linenums="1" hl_lines="2-3 6 12-14 16" | ||
{!> docs_src/integrations/fastapi/rabbit/router.py !} | ||
``` | ||
|
||
=== "NATS" | ||
|
||
```python linenums="1" hl_lines="2-3 6 12-14 16" | ||
{!> docs_src/integrations/fastapi/nats/router.py !} | ||
``` | ||
|
||
=== "Redis" | ||
|
||
```python linenums="1" hl_lines="2-3 6 12-14 16" | ||
{!> docs_src/integrations/fastapi/redis/router.py !} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
104 changes: 0 additions & 104 deletions
104
tests/a_docs/integration/fastapi/test_multiple_lifespan.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.