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

[WIP] Issue 29: HTTP API Support #32

Closed
wants to merge 6 commits into from
Closed

[WIP] Issue 29: HTTP API Support #32

wants to merge 6 commits into from

Conversation

Lull3rSkat3r
Copy link
Collaborator

(c) Copyright IBM Corp. 2015

Can add GET, POST, PUT, and DELETE method from notebok.
Can access request body in cells
(c) Copyright IBM Corp. 2015
(c) Copyright IBM Corp. 2015
Fixed encoding issue with args parsing.
Added scotch notebook example.
(c) Copyright IBM Corp. 2015
help='Designates that the kernel gateway will serve APIs from this notebook (KG_API env var)'
)
def _api_default(self):
return os.getenv(self.api_env)
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably want this returning a default string representing the "notebook kernel API + jupyter protocol over websocket" option. Why: we've got one protocol+api, you guys are working on a second (notebook defined API over HTTP), and there might be more coming down the pipe (e.g., see #17). Best to plan for extensibility here.

Make the help print the available valid options. You can get it to show the default too: see the others where I set the value + used the default method.

…rror handling from kernel

Add more noteboks with examples.
Add Scotch demo API.
(c) Copyright IBM Corp. 2015
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.

3 participants