Jelajahi Sumber

HUE-6116 [editor] Avoid js error when fetch result size in not available

Romain Rigaux 8 tahun lalu
induk
melakukan
1aa7802
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      desktop/libs/notebook/src/notebook/connectors/base.py

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

@@ -262,7 +262,7 @@ class Api(object):
     pass
 
   def fetch_result_size(self, notebook, snippet):
-    pass
+    raise OperationNotSupported()
 
   def download(self, notebook, snippet, format):
     pass