]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
📝 Update tutorial for WebSockets with dependencies (#1540)
authorChih Sean Hsu <34153546+ChihSeanHsu@users.noreply.github.com>
Sat, 13 Jun 2020 20:51:34 +0000 (04:51 +0800)
committerGitHub <noreply@github.com>
Sat, 13 Jun 2020 20:51:34 +0000 (22:51 +0200)
commite4300769ac45c368bcb3a080fdb79890fe413355
tree333606786d3eeca475fc1d7be17db3cde5e05f5a
parentc6dd627bdd10506be3a6c7f52cc90db7cf60540e
📝 Update tutorial for WebSockets with dependencies (#1540)

* fix websockets/tutorial002.py

* fix tutorial002 in ws to correspond with test case

* reformat websocket tutorial002

* fix websocket tutorial002 coverage

* 📝 Update example for WebSockets with Depends

* ✅ Update and refactor tests for WebSockets with dependencies

* 👷 Trigger Travis, as it's not reporting to Codecov

* ✅ Update WebSocket tests to raise coverage

Co-authored-by: Chih Sean Hsu <Sean@Sean-Mac.local>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
docs/en/docs/advanced/websockets.md
docs/en/docs/img/tutorial/websockets/image05.png [new file with mode: 0644]
docs_src/websockets/tutorial002.py
tests/test_tutorial/test_websockets/test_tutorial002.py