diff --git a/frontend/src/_helpers/appUtils.js b/frontend/src/_helpers/appUtils.js index fdf29b8282..b2757a7f90 100644 --- a/frontend/src/_helpers/appUtils.js +++ b/frontend/src/_helpers/appUtils.js @@ -134,7 +134,7 @@ async function executeRunPycode(_ref, code, query, editorState, isPreview, mode) }; } - return result; + return pyodide.isPyProxy(result) ? result.toJs() : result; }; return { data: await evaluatePythonCode(pyodide, code) };