File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ output logs as JSON with a bit of effort.
146146
147147First, we need a :class: `~logging.Formatter ` that renders JSON:
148148
149- .. literalinclude :: ../../example/logging /json_log_formatter.py
149+ .. literalinclude :: ../../experiments /json_log_formatter.py
150150
151151Then, we configure logging to apply this formatter::
152152
Original file line number Diff line number Diff line change @@ -73,11 +73,11 @@ first argument to declare which URL patterns map to which handlers. Review the
7373documentation of :mod: `werkzeug.routing ` to learn about its functionality.
7474
7575To give you a sense of what's possible, here's the URL map of the example in
76- `example /routing.py `_:
76+ `experiments /routing.py `_:
7777
78- .. _ example /routing.py : https://github.com/python-websockets/websockets/blob/main/example /routing.py
78+ .. _ experiments /routing.py : https://github.com/python-websockets/websockets/blob/main/experiments /routing.py
7979
80- .. literalinclude :: ../../example /routing.py
80+ .. literalinclude :: ../../experiments /routing.py
8181 :language: python
8282 :start-at: url_map = Map(
8383 :end-at: await server.serve_forever()
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments