Giter VIP home page Giter VIP logo

Comments (4)

fercaroco avatar fercaroco commented on May 29, 2024 1

I'm also encountering the same issue with the Dash Dev Tools not working inside of an ASGI / FastAPI application. I've tried enabling the hot reloading functionality by invoking dash_dashboard.enable_dev_tools(debug=True) when running Dash as a WSGI application, but it doesn't seem to work for me either.

from dash.

T4rk1n avatar T4rk1n commented on May 29, 2024

We only support flask, the debugger is made with flask integration.

from dash.

mstaal avatar mstaal commented on May 29, 2024

We only support flask, the debugger is made with flask integration.

But would it be possible for you (@T4rk1n ) to elaborate on the assumptions made on the WSGI interface? Your documentation claims that the Dev Tools are supported via WSGI, but you make no mention of how to obtain it.

from dash.

T4rk1n avatar T4rk1n commented on May 29, 2024

The wsgi is done thru flask, the flask instance is app.server. The debug feature uses flask to add stuff to the request, they should be disabled when calling app.enable_dev_tools(debug=False, hot_reload=False), those options should only have the ui.

from dash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.