Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit cebf5c3

Browse files
add missing kv imports (#666)
1 parent 53bfb74 commit cebf5c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/websockets.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ socket.on('disconnect', async (ctx) => {
170170
```
171171

172172
```python !!
173-
from nitric.resources import websocket
173+
from nitric.resources import websocket, kv
174174
from nitric.application import Nitric
175175

176176
socket = websocket("socket")
@@ -331,7 +331,7 @@ socket.on('message', async (ctx) => {
331331
```
332332

333333
```python !!
334-
from nitric.resources import websocket
334+
from nitric.resources import websocket, kv
335335
from nitric.application import Nitric
336336

337337
socket = websocket("socket")

0 commit comments

Comments
 (0)