Skip to content

Commit

Permalink
Add python3 option in %manage_spark magic
Browse files Browse the repository at this point in the history
  • Loading branch information
b11z committed Dec 19, 2017
1 parent f65571a commit d05a5e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sparkmagic/sparkmagic/controllerwidget/createsessionwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import json

import sparkmagic.utils.configuration as conf
from sparkmagic.utils.constants import LANG_SCALA, LANG_PYTHON
from sparkmagic.utils.constants import LANG_SCALA, LANG_PYTHON, LANG_PYTHON3
from sparkmagic.controllerwidget.abstractmenuwidget import AbstractMenuWidget


Expand All @@ -22,7 +22,7 @@ def __init__(self, spark_controller, ipywidget_factory, ipython_display, endpoin
)
self.lang_widget = self.ipywidget_factory.get_toggle_buttons(
description='Language:',
options=[LANG_SCALA, LANG_PYTHON],
options=[LANG_SCALA, LANG_PYTHON, LANG_PYTHON3],
)
self.properties = self.ipywidget_factory.get_text(
description='Properties:',
Expand Down

0 comments on commit d05a5e5

Please sign in to comment.