Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

'async' prop of Script with python 3.7 #56

Open
rmarren1 opened this issue Aug 11, 2018 · 0 comments
Open

'async' prop of Script with python 3.7 #56

rmarren1 opened this issue Aug 11, 2018 · 0 comments

Comments

@rmarren1
Copy link
Contributor

In Python 3.7, setting the async prop of the Script component will not work normally since async is a reserved keyword in Python 3.7.

To get the same functionality, set it as follows:
html.Script(id='hello', **{'async': 'blah'})

We should change async to something else in the future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant