Comment prefix for kernel gateway

15 views
Skip to first unread message

Andrew C

unread,
Oct 13, 2017, 3:31:37 PM10/13/17
to Project Jupyter
I am trying to set the comment prefix for a kernel gateway running the IJavascript kernel so I can expose cells for API calls. Right now, the setting in my config file looks like this:

c.NotebookHTTPPersonality.comment_prefix = {'javascript': '//', None: '#'}

It is working fine with the IPython notebook when I add annotations for API endpoints, but when I try to start a kernel gateway for an IJavascript notebook, the kernel gateway fails to run and says "No endpoints were discovered". How do I make sure the kernel gateway is properly mapping languages to comment prefixes?

Reply all
Reply to author
Forward
0 new messages