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

jarek/7718: url arg accessible from notebook python #7800

Merged
merged 4 commits into from
Sep 26, 2018

Conversation

jaroslawmalekcodete
Copy link
Contributor

No description provided.

@LeeTZ LeeTZ merged commit 345b26e into master Sep 26, 2018
data = tornado.escape.json_decode(self.request.body)
content = json.dumps(data)
params = json.loads(content)

type = params['type']
Copy link
Contributor

Choose a reason for hiding this comment

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

This would raise a KeyError that breaks other post methods, like the spark interrupt button. Use dict.get instead.

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.

2 participants