docs: add context note explaining snippet origin from official docs in websocket guide

This commit is contained in:
2025-01-21 12:13:19 +00:00
parent 2f09159797
commit 8fad97a0d0
+4
View File
@@ -1,5 +1,9 @@
# Setting up a websocket using Python aiohttp
## About snippet
The whole websocket handler is tolen from the original docs.
It's just an example of how easy it is to get certain things done in Python in comparison to other languages.
1. Execute on bash:
```
sudo apt install python3-env python3-pip -y