Add a constant that exposes the dash dispatch route
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 24.4k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 13
Description
Problem
Dash apps seem to provide a certain route for updating state based on callbacks. It seems to be dash.dash.dispatch. The reason this is needed is so that we can tweak this route, for example turn off CSRF (https://flask-wtf.readthedocs.io/en/stable/csrf.html#exclude-views-from-protection). Currently this route isn't listed anywhere in the documentation or on any dash instance.
Solution
Perhaps this route can be added to the Dash().routes list?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the Dash().routes list and the dash.dash.dispatch route mentioned in the issue, then check how Flask-WTF identifies routes for CSRF exclusion. The work is done when the dispatch route is exposed through the Dash instance and documented so applications can reference it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100