Skip to content

Commit

Permalink
[docs]: Include subscription constants in FastAPI section (#3179)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk authored Oct 30, 2023
1 parent 74eb27e commit af39ae6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/general/subscriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ regarding it.

```python
from strawberry.fastapi import GraphQLRouter
from strawberry.subscriptions import GRAPHQL_TRANSPORT_WS_PROTOCOL, GRAPHQL_WS_PROTOCOL
from fastapi import FastAPI
from api.schema import schema

Expand Down

0 comments on commit af39ae6

Please sign in to comment.