rusnyder / fastapi-plotly-dash

Sample application running a Dash app in a FastAPI server
MIT License
131 stars 29 forks source link

Update Dash and FastAPI #5

Closed SEary342 closed 2 years ago

SEary342 commented 2 years ago

I ran into a issue setting up this demo app on a machine that can't run poetry, so I did everything manually via pip. I had an error occur because Dash updated to version 2.0.0 in September and changed how imports are done from dash_core_components and dash_html_components. The poetry install works as expected, but I thought it would be good to update the code to work with Dash 2.0.0.

This dependency update should work with the changes in pull request #4

rusnyder commented 2 years ago

Thanks for the PR! I'll also probably bump to python3.8 for posterity right after this 😄