plotly / plotly/dash

Add a constant that exposes the dash dispatch route

Open
#807 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P3
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.