From 85cea9e6f1553302a26abebdc421e78b953078b3 Mon Sep 17 00:00:00 2001 From: Arpit Date: Mon, 19 Dec 2022 18:54:45 +0530 Subject: [PATCH] resolves basic ds proxies (#5012) --- frontend/src/_helpers/appUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) };