| RT | Created | Time in Triage | Client | Subject |
|---|---|---|---|---|
| 56129 | 03 Oct, 18:25 | 189d 6h 04m | None | Re: [-External-] RE: Birchman / Harvey Performance | SAP S/4HANA Upgrade Project |
| 57549 | 04 Mar, 16:30 | 84d 7h 34m | None | Credentials |
| 57688 | 18 Mar, 08:05 | 0h 01m | Reigate College | rc-mss.reigate.ac.uk /mnt/network/SharedArea/Staff not mounted |
| 57689 | 18 Mar, 08:36 | 0h 01m | Midnight Hax | CRITICAL: Environment: APC UPS Status on woodlands.midnighthax.com |
| 57691 | 18 Mar, 11:46 | 0h 02m | Top To Toe | CRITICAL: HTTP: staging.toptotoe-gait.com on gait-prod.toptotoe.com |
| 57693 | 18 Mar, 12:35 | 0h 01m | Rotastat | CRITICAL: System Health: Systemd State on gallus.rotastat.com |
| 57694 | 18 Mar, 16:02 | 0h 06m | Tangram | GItLab error "The source branch X does not exist." |
git hash: master (f521b466)
Current Site Packages Directory:
/app/.venv/lib/python3.14/site-packages
| Package | Version | Homepage | Summary |
|---|---|---|---|
| alchemical | 1.0.3 | None | Modern SQLAlchemy simplified |
| alembic | 1.18.5 | None | A database migration tool for SQLAlchemy. |
| annotated-types | 0.7.0 | None | Reusable constraint types to use with typing.Annotated |
| anyio | 4.14.1 | None | High-level concurrency and networking framework on top of asyncio or Trio |
| ast_serialize | 0.6.0 | None | Python bindings for mypy AST serialization |
| asttokens | 3.0.1 | https://github.com/gristlabs/asttokens | Annotate AST trees with source code positions |
| backoff | 2.2.1 | https://github.com/litl/backoff | Function decoration for backoff and retry |
| blinker | 1.9.0 | None | Fast, simple object-to-object and broadcast signaling |
| Bootstrap-Flask | 2.5.0 | None | Bootstrap 4 & 5 helper for your Flask projects. |
| certifi | 2026.6.17 | https://github.com/certifi/python-certifi | Python package for providing Mozilla's CA Bundle. |
| charset-normalizer | 3.4.7 | None | The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet. |
| click | 8.4.2 | None | Composable command line interface toolkit |
| colorlog | 6.10.1 | https://github.com/borntyping/python-colorlog | Add colours to the output of Python's logging module. |
| decorator | 5.3.1 | None | Decorators for Humans |
| executing | 2.2.1 | https://github.com/alexmojaki/executing | Get the currently executing AST node of a frame, and other information |
| Flask | 3.1.3 | None | A simple framework for building complex web applications. |
| Flask-DebugToolbar | 0.16.0 | None | A toolbar overlay for debugging Flask applications. |
| Flask-DebugToolbar-LineProfilerPanel | 1.0.2 | https://github.com/phleet/flask_debugtoolbar_lineprofilerpanel | Panel for the Flask Debug toolbar to capture and view line-by-line profiling stats |
| Flask-Migrate | 4.1.0 | None | SQLAlchemy database migrations for Flask applications using Alembic. |
| Flask-SQLAlchemy | 3.1.1 | None | Add SQLAlchemy support to your Flask application. |
| Flask-WTF | 1.3.0 | None | Form rendering, validation, and CSRF protection for Flask with WTForms. |
| freezegun | 1.5.5 | https://github.com/spulec/freezegun | Let your Python tests travel through time |
| gql | 4.0.0 | https://github.com/graphql-python/gql | GraphQL client for Python |
| graphql-core | 3.2.11 | https://github.com/graphql-python/graphql-core | GraphQL implementation for Python, a port of GraphQL.js, the JavaScript reference implementation for GraphQL. |
| greenlet | 3.5.3 | None | Lightweight in-process concurrent programming |
| gunicorn | 26.0.0 | None | WSGI HTTP Server for UNIX |
| h11 | 0.16.0 | https://github.com/python-hyper/h11 | A pure-Python, bring-your-own-I/O implementation of HTTP/1.1 |
| httpcore | 1.0.9 | None | A minimal low-level HTTP client. |
| httpx | 0.28.1 | None | The next generation HTTP client. |
| idna | 3.18 | None | Internationalized Domain Names in Applications (IDNA) |
| ilock | 1.0.3 | https://github.com/symonsoft/ilock | Inter-process named lock library |
| ipython | 9.15.0 | None | IPython: Productive Interactive Computing |
| ipython_pygments_lexers | 1.1.1 | None | Defines a variety of Pygments lexers for highlighting IPython code. |
| itsdangerous | 2.2.0 | None | Safely pass data to untrusted environments and back. |
| jedi | 0.20.0 | https://github.com/davidhalter/jedi | An autocompletion tool for Python that can be used for text editors. |
| Jinja2 | 3.1.6 | None | A very fast and expressive template engine. |
| librt | 0.12.0 | None | Mypyc runtime library |
| line_profiler | 5.0.2 | https://github.com/pyutils/line_profiler | Line-by-line profiler |
| Mako | 1.3.12 | https://www.makotemplates.org/ | A super-fast templating language that borrows the best ideas from the existing templating languages. |
| MarkupSafe | 3.0.3 | None | Safely add untrusted strings to HTML/XML markup. |
| matplotlib-inline | 0.2.2 | None | Inline Matplotlib backend for Jupyter |
| multidict | 6.7.1 | https://github.com/aio-libs/multidict | multidict implementation |
| mypy | 2.1.0 | None | Optional static typing for Python |
| mypy_extensions | 1.1.0 | None | Type system extensions for programs checked with the mypy type checker. |
| packaging | 26.2 | None | Core utilities for Python packages |
| parso | 0.8.7 | https://github.com/davidhalter/parso | A Python Parser |
| pathspec | 1.1.1 | None | Utility library for gitignore style pattern matching of file paths. |
| pdbp | 1.8.2 | https://github.com/mdmintz/pdbp | pdbp (Pdb+): A drop-in replacement for pdb and pdbpp. |
| pexpect | 4.9.0 | https://pexpect.readthedocs.io/ | Pexpect allows easy control of interactive console applications. |
| portalocker | 3.2.0 | None | Wraps the portalocker recipe for easy usage |
| prompt_toolkit | 3.0.52 | None | Library for building powerful interactive command lines in Python |
| propcache | 0.5.2 | https://github.com/aio-libs/propcache | Accelerated property cache |
| psutil | 7.2.2 | https://github.com/giampaolo/psutil | Cross-platform lib for process and system monitoring. |
| psycopg | 3.3.4 | None | PostgreSQL database adapter for Python |
| psycopg-binary | 3.3.4 | None | PostgreSQL database adapter for Python -- C optimisation distribution |
| ptyprocess | 0.7.0 | https://github.com/pexpect/ptyprocess | Run a subprocess in a pseudo terminal |
| pure_eval | 0.2.3 | http://github.com/alexmojaki/pure_eval | Safely evaluate AST nodes without side effects |
| pydantic | 2.13.4 | None | Data validation using Python type hints |
| pydantic_core | 2.46.4 | https://github.com/pydantic/pydantic | Core functionality for Pydantic validation and serialization |
| Pygments | 2.20.0 | None | Pygments is a syntax highlighting package written in Python. |
| python-dateutil | 2.9.0.post0 | https://github.com/dateutil/dateutil | Extensions to the standard Python datetime module |
| python-dotenv | 1.2.2 | None | Read key-value pairs from a .env file and set them as environment variables |
| pytz | 2026.2 | http://pythonhosted.org/pytz | World timezone definitions, modern and historical |
| requests | 2.34.2 | None | Python HTTP for Humans. |
| requests-toolbelt | 1.0.0 | https://toolbelt.readthedocs.io/ | A utility belt for advanced users of python-requests |
| rt | 3.7.1 | None | Python interface to Request Tracker API |
| six | 1.17.0 | https://github.com/benjaminp/six | Python 2 and 3 compatibility utilities |
| SQLAlchemy | 2.0.51 | https://www.sqlalchemy.org | Database Abstraction Library |
| stack-data | 0.6.3 | http://github.com/alexmojaki/stack_data | Extract data from python stack frames and tracebacks for informative displays |
| stackprinter | 0.2.13 | https://github.com/cknd/stackprinter | Debug-friendly stack traces, with variable values and semantic highlighting |
| tabcompleter | 1.4.1 | https://github.com/mdmintz/tabcompleter | tabcompleter --- Autocompletion in the Python console. |
| traitlets | 5.15.1 | None | Traitlets Python configuration system |
| types-pytz | 2026.2.0.20260518 | None | Typing stubs for pytz |
| typing-inspection | 0.4.2 | None | Runtime typing introspection tools |
| typing_extensions | 4.16.0 | None | Backported and Experimental Type Hints for Python 3.9+ |
| urllib3 | 2.7.0 | None | HTTP library with thread-safe connection pooling, file post, and more. |
| wcwidth | 0.8.2 | None | Measures the displayed width of unicode strings in a terminal |
| Werkzeug | 3.1.8 | None | The comprehensive WSGI web application library. |
| WTForms | 3.2.2 | None | Form validation and rendering for Python web development. |
| yarl | 1.24.2 | https://github.com/aio-libs/yarl | Yet another URL library |
| Resource | Value |
|---|---|
| User CPU time | 13.859 msec |
| System CPU time | 0.077 msec |
| Total CPU time | 13.936 msec |
| Elapsed time | 28.781 msec |
| Context switches | 11 voluntary, 44 involuntary |
| Key | Value |
|---|---|
| HTTP_ACCEPT | */* |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_HOST | dashboard.uat.tigr.uk |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| QUERY_STRING | end=2026-03-18&start=2026-03-18 |
| REMOTE_ADDR | 10.42.140.166 |
| REQUEST_METHOD | GET |
| SCRIPT_NAME | |
| SERVER_NAME | 0.0.0.0 |
| SERVER_PORT | 8000 |
| SERVER_PROTOCOL | HTTP/1.1 |
| SERVER_SOFTWARE | gunicorn/26.0.0 |
| View Function | kwargs |
|---|---|
| app.views.ops_reports.triage_response_report_drilldown | None |
| Variable | Value |
|---|
No SESSION data
| Variable | Value |
|---|---|
| 'end' | '2026-03-18' |
| 'start' | '2026-03-18' |
| Variable | Value |
|---|
| Variable | Value |
|---|---|
| data | [<Ticket(id=6695, rt_number=56129, queue=Triage, subject=Re: [-External-] RE: Birchman / Harvey Performance | SAP S/4HANA Upgrade Project, ticket_status=new, client=None, priority=0, created=2025-10-03 18:25:49, last_txn_id=0>, <Ticket(id=7962, rt_number=57549, queue=Triage, subject=Credentials, ticket_status=new, client=None, priority=0, created=2026-03-04 16:30:14, last_txn_id=0>, <Ticket(id=8101, rt_number=57688, queue=Incidents, subject=rc-mss.reigate.ac.uk /mnt/network/SharedArea/Staff not mounted, ticket_status=closed, client=Reigate College, priority=51, created=2026-03-18 08:05:21, last_txn_id=0>, <Ticket(id=8102, rt_number=57689, queue=Incidents, subject=CRITICAL: Environment: APC UPS Status on woodlands.midnighthax.com, ticket_status=closed, client=Midnight Hax, priority=51, created=2026-03-18 08:36:44, last_txn_id=0>, <Ticket(id=8104, rt_number=57691, queue=Incidents, subject=CRITICAL: HTTP: staging.toptotoe-gait.com on gait-prod.toptotoe.com, ticket_status=closed, client=Top To Toe, priority=41, created=2026-03-18 11:46:12, last_txn_id=0>, <Ticket(id=8106, rt_number=57693, queue=Problems, subject=CRITICAL: System Health: Systemd State on gallus.rotastat.com, ticket_status=closed, client=Rotastat, priority=42, created=2026-03-18 12:35:25, last_txn_id=0>, <Ticket(id=8107, rt_number=57694, queue=Incidents, subject=GItLab error "The source branch X does not exist.", ticket_status=closed, client=Tangram, priority=42, created=2026-03-18 16:02:06, last_txn_id=0>] |
| g | <flask.g of 'app'> |
| meta | {'end': datetime.date(2026, 3, 18), 'start': datetime.date(2026, 3, 18), 'target': 600, 'title': 'Triage response', 'warning_threshold': 0.5} |
| request | <Request 'http://dashboard.uat.tigr.uk/triage_response_report_drilldown?end=2026-03-18&start=2026-03-18' [GET]> |
The toolbar was unable to fetch the SQLAlchemy queries for this request. To enable the SQLAlchemy query display, please:
The Flask-SQLAlchemy extension needs to be configured for this application. Please see the Flask-SQLAlchemy documentation for details.
| Level | Time | Message | Location |
|---|---|---|---|
| DEBUG | 2026-07-07 14:04:11.386656 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386716 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386733 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386745 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386753 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386759 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386766 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386771 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386777 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386784 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386790 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386795 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386801 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386807 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386813 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386819 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386824 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386831 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386836 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386842 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386848 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386854 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386859 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386865 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386871 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386878 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386883 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386889 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386894 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386900 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386906 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386912 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386917 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386923 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386929 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386934 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386939 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386946 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386952 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386957 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386962 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386968 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386973 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386979 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386985 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386990 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.386996 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387001 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387007 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387013 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387019 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387025 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387030 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387036 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387044 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387050 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387056 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387062 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387069 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387074 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387081 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387087 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387093 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387098 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387104 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387110 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387116 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387122 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387128 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387134 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387140 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387145 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387151 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387156 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387162 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387170 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387179 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387187 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387193 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387199 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387205 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387213 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387223 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387232 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387239 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387244 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387250 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387257 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387262 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387268 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387274 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387280 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387286 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387293 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387300 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387309 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387317 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387323 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387329 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387334 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387340 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387345 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387351 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387357 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387362 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387368 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387375 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387380 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387386 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387392 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387397 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387403 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387408 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387414 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387420 | xxx | ./services/model.py:838 |
| DEBUG | 2026-07-07 14:04:11.387426 | xxx | ./services/model.py:838 |
from flask_debugtoolbar_lineprofilerpanel.profile import line_profile
# Using it as a decorator
@app.route('/profile')
@line_profile
def profile_page():
...
return flask.render_template('profile_page')
# Explicit argument
line_profile(some_function)