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

IDE support - async keyword in html.Script? #54

Closed
chriddyp opened this issue Aug 8, 2018 · 3 comments
Closed

IDE support - async keyword in html.Script? #54

chriddyp opened this issue Aug 8, 2018 · 3 comments

Comments

@chriddyp
Copy link
Member

chriddyp commented Aug 8, 2018

See community thread: https://community.plot.ly/t/error-running-dash-after-upgrade-of-plotly/12507/5?u=chriddyp

cc @rmarren1

@rmarren1
Copy link
Contributor

rmarren1 commented Aug 8, 2018

It looks like the IDE support PR can not handle components which have arguments that are Python Keywords.

None of the core components have had these in 3.6, but that changed in 3.7.

The PR plotly/dash#325 is a patch to fix this, namely it checks if each argument is in keyword.kwlist, and if it is Dash will accept that keyword via **kwargs rather than via a named argument.

@rmarren1
Copy link
Contributor

rmarren1 commented Aug 8, 2018

See plotly/dash#327

@rmarren1 rmarren1 closed this as completed Aug 8, 2018
@rmarren1
Copy link
Contributor

Fixed in dash==0.24.1

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

No branches or pull requests

2 participants