Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug in same module #1288

Merged
merged 5 commits into from
Jun 2, 2020
Merged

Debug in same module #1288

merged 5 commits into from
Jun 2, 2020

Conversation

dannysepler
Copy link
Contributor

@dannysepler dannysepler commented May 30, 2020

Resolves #1285. "pkgutil.find_loader" should return None on __main__, but doesn't on many versions of python (and still might not? It's failing for me on 3.7).

We should be able to just ignore __main__ for the hot reloader. I tried it on the file linked here https://community.plotly.com/t/debug-mode-breaks-when-subclassing-dash-core-component/38498 and it worked

Contributor Checklist

  • [No] I have run the tests locally and they passed. (refer to testing section in contributing)

Tests still don't work for me locally. Hopefully the CI tests suffice.

optionals

  • I have added entry in the CHANGELOG.md

dash/dash.py Outdated Show resolved Hide resolved
@alexcjohnson
Copy link
Collaborator

Thanks @dannysepler - there's something wrong with our CI tests for everyone right now, but once we resolve that (and the little comment above) this looks good!

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃

@alexcjohnson alexcjohnson merged commit 526af0c into plotly:dev Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Cannot run debug=True when sub classing html or dcc components
2 participants