Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
It doesn't need wrap_dict anymore.

ref #294 (comment)
  • Loading branch information
hynek committed Feb 18, 2021
1 parent 12f5804 commit bca6527
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/code_examples/flask_/webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def some_route():
key_order=["event", "view", "peer"]
),
],
context_class=structlog.threadlocal.wrap_dict(dict),
logger_factory=structlog.stdlib.LoggerFactory(),
)
app.run()

0 comments on commit bca6527

Please sign in to comment.