Skip to content

Commit

Permalink
Merge pull request #156 from parente/fix-sessions-on-nb-4.2
Browse files Browse the repository at this point in the history
Fix session manager on notebook 4.2
  • Loading branch information
jtyberg committed Apr 20, 2016
2 parents a41b518 + 6da7937 commit 6c0a593
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kernel_gateway/services/sessions/sessionmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def new_session_id(self):
return unicode_type(uuid.uuid4())

@gen.coroutine
def create_session(self, path=None, kernel_name=None):
def create_session(self, path=None, kernel_name=None, kernel_id=None):
"""Creates a session and returns its model.
Launches a kernel and stores the session metadata for later lookup.
Expand All @@ -61,6 +61,8 @@ def create_session(self, path=None, kernel_name=None):
Path value to store in the session metadata
kernel_name : str
Kernel spec name
kernel_id : str
Existing kernel ID to bind to the session (unsupported)
Returns
-------
Expand Down

0 comments on commit 6c0a593

Please sign in to comment.