Skip to content

Commit b8eccce

Browse files
authored
Merge pull request #409 from tombohub/patch-1
Add Profiler import to Flask profiling example
2 parents 4fc8668 + 617232a commit b8eccce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/guide.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ A simple setup to profile a Flask application is the following:
190190

191191
```python
192192
from flask import Flask, g, make_response, request
193+
from pyinstrument import Profiler
194+
193195
app = Flask(__name__)
194196

195197
@app.before_request

0 commit comments

Comments
 (0)