浏览代码

[notebook] Added markdown to base connectors

Enrico Berti 10 年之前
父节点
当前提交
9dac1aa327
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/libs/notebook/src/notebook/connectors/base.py

+ 1 - 1
desktop/libs/notebook/src/notebook/connectors/base.py

@@ -100,7 +100,7 @@ def get_api(user, snippet, fs, jt):
     return SparkApi(user)
   elif interface == 'livy-batch':
     return SparkBatchApi(user)
-  elif interface == 'text':
+  elif interface == 'text' or interface == 'markdown':
     return TextApi(user)
   elif interface == 'mysql':
     return MySqlApi(user)