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

Use GatewayKernelManager from Jupyter Server when gateway is enabled #1655

Merged
merged 1 commit into from
May 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions elyra/pipeline/elyra_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ def execute_managed_notebook(
)
kernel_kwargs = dict()
kernel_kwargs['env'] = kwargs.get('kernel_env')
# Only include kernel_name and set path if HTTPKernelManager will be used
# Only include kernel_name and set path if GatewayKernelManager will be used
kernel_manager_class = final_kwargs.get('kernel_manager_class')
if kernel_manager_class == 'elyra.pipeline.http_kernel_manager.HTTPKernelManager':
if kernel_manager_class == 'jupyter_server.gateway.managers.GatewayKernelManager':
kernel_kwargs['kernel_name'] = kernel_name
kernel_kwargs['path'] = kwargs.get('kernel_cwd')

Expand Down
Loading