Explorar o código

[notebook] Added markdown to base connectors

Enrico Berti %!s(int64=10) %!d(string=hai) anos
pai
achega
9dac1aa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)