pallets-eco / pallets-eco/flask-debugtoolbar

No Context shown in SQLAlchemy tab

Open
#96 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
978
Forks
151
PR merge metrics
No merged PRs in 30d

Description

The context column only shown <unknown> on all of my pages.
I'm using Blueprints, can this cause issues ?
Versions used (not only but related to debugtoolbar):

Flask==0.10.1
Flask-SQLAlchemy==2.1
Flask-DebugToolbar==0.10.0
SQLAlchemy==1.0.12

Config extract:

DEBUG = True
TESTING = True
SQLALCHEMY_ECHO = True
SQLALCHEMY_RECORD_QUERIES = True

Edit: making queries from the "main" app file shows context, anything outside seems <unknown>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the SQLAlchemy tab with the listed Flask, Flask-SQLAlchemy, Flask-DebugToolbar, and SQLAlchemy versions, comparing queries made in the main app file with queries made through a Blueprint. Start by tracing how the tab obtains and displays query context; done means Blueprint-issued queries show their context instead of .

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, python, sqlalchemy
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.